3.6 KiB
3.6 KiB
Changelog
2.0.1
SpannableMarkdownVisitor
Rename blockQuoteIndent to blockIndent- Fixed block new lines logic for block quote and paragraph (#82)
- AsyncDrawable fix no dimensions bug (#81)
- Update SpannableTheme to use Px instead of Dimension annotation
- Allow TaskListSpan isDone mutation
- Updated commonmark-java to 0.12.1
- Add OrderedListItemSpan measure utility method (#78)
- Add SpannableBuilder#getSpans method
- Fix DataUri scheme handler in image-loader (#74)
- Introduced a "copy" builder for SpannableThem Thanks @c-b-h 🙌
2.0.0
- Add
html-parser-api
andhtml-parser-impl
modules - Add
HtmlEmptyTagReplacement
- Implement Appendable and CharSequence in SpannableBuilder
- Renamed library modules to reflect maven artifact names
- Rename
markwon-syntax
tomarkwon-syntax-highlight
- Add HtmlRenderer asbtraction
- Add CssInlineStyleParser
- Fix Theme#listItemColor and OL
- Fix task list block parser to revert parsing state when line is not matching
- Defined test format files
- image-loader add datauri parser
- image-loader add support for inline data uri image references
- Add travis configuration
- Fix image with width greater than canvas scaled
- Fix blockquote span
- Dealing with white spaces at the end of a document
- image-loader add SchemeHandler abstraction
- Add sample-latex-math module
v1.1.1
- Fix OrderedListItemSpan text position (baseline) ()
- Add softBreakAddsNewLine option for SpannableConfiguration ()
- Paragraph text can now explicitly be spanned ()
Thanks to - Fix table border color if odd background is specified ()
- Add table customizations (even and header rows)
v1.1.0
- Update commonmark to 0.11.0 and android-gif to 1.2.14
- Add syntax highlight functionality (
library-syntax
module andmarkwon-syntax
artifact) - Add headingTypeface, headingTextSizes to SpannableTheme
Thanks to - Introduce
MediaDecoder
abstraction toimage-loader
module - Introduce
SpannableFactory
Thanks for idea to - Update sample application to use syntax-highlight
- Update sample application to use clickable placeholder for GIF media
v1.0.6
- Fix bullet list item size (depend on text size and not top-bottom arguments)
- Add ability to specify MovementMethod when applying markdown to a TextView
- Markdown images size is also resolved via ImageSizeResolver
- Moved
ImageSize
,ImageSizeResolver
andImageSizeResolverDef
toru.noties.markwon.renderer
package (one level up, previouslyru.noties.markwon.renderer.html
)
v1.0.5
- Change LinkSpan to extend URLSpan. Allow default linkColor (if not set explicitly)
- Fit an image without dimensions to canvas width (and keep ratio)
- Add support for separate color for code blocks ()
Thanks to
v1.0.4
- Fixes (tables are not rendered when at the end of the markdown)
- Adds support for
indented code blocks
Thanks to
v1.0.3
- Fixed ordered lists (when number width is greater than block margin)
v1.0.2
- Fixed additional white spaces at the end of parsed markdown
- Fixed headings with no underline (levels 1 & 2)
- Tables can have no borders
v1.0.1
- Support for task-lists ()
- Spans now are applied in reverse order ( )
- Added
SpannableBuilder
to follow the reverse order of spans - Updated
commonmark-java
to0.10.0
- Fixes
v1.0.0
Initial release