74 Commits

Author SHA1 Message Date
Dimitry Ivanov
d382b37a72 Started working with standalone doc site 2018-08-20 16:38:39 +03:00
Dimitry Ivanov
c7c998db8f Improve empty tag replacement 2018-08-19 19:20:35 +03:00
Dimitry Ivanov
5c9ba0f252 Add htmlIgnoreNonClosedTags option for SpannableConfiguration 2018-08-19 18:19:12 +03:00
Dimitry Ivanov
97e6eb47a3 Add checkUpdates gradle task 2018-08-19 17:54:01 +03:00
Dimitry Ivanov
20c92ddd5e Remove old html code 2018-08-19 16:02:02 +03:00
Dimitry Ivanov
9246a53891 Add blockquote tag handler 2018-08-19 15:26:08 +03:00
Dimitry Ivanov
2d9c80d519 Add ImageHandler (img tag) 2018-08-19 15:20:21 +03:00
Dimitry Ivanov
f1a38fca0f Add CssInlineStyleParser 2018-08-19 14:10:27 +03:00
Dimitry Ivanov
23b95e70b9 Improve TagHandler to allow direct set of spans 2018-08-19 11:36:31 +03:00
Dimitry Ivanov
019ed61e69 Introduce trimming html text logic 2018-08-18 23:10:41 +03:00
Dimitry Ivanov
617a1c8d8f Add HtmlRenderer asbtraction 2018-08-18 16:19:20 +03:00
Dimitry Ivanov
84a50be0dd Rename markwon-syntax to markwon-syntax-highlight 2018-08-18 14:58:36 +03:00
Dimitry Ivanov
203f5fae52 Html parser impl tests 2018-08-18 14:55:07 +03:00
Dimitry Ivanov
76fdbabad0 Renamed library modules to reflect maven artifact name 2018-08-18 13:35:37 +03:00
Dimitry Ivanov
0ec683ad48 Update gradle build configuration 2018-08-18 13:31:06 +03:00
Dimitry Ivanov
bd27f99f8e Merge with master (1.1.1) 2018-08-18 13:03:40 +03:00
Dimitry Ivanov
8ef4a72131 Change version to 1.1.1 v1.1.1 2018-08-18 12:49:39 +03:00
Dimitry
20159bef7f
V1.1.1 (#60)
* Fix OrderedListItemSpan text position (baseline) (#55)
* Add softBreakAddsNewLine option for SpannableConfiguration (#54)
* Paragraph text can now explicitly be spanned (#58) 
  Thanks to @c-b-h!
* Fix table border color if odd background is specified (#56)
* Add table customizations (even and header rows)
2018-08-18 12:45:55 +03:00
Dimitry Ivanov
4a6e5002e8 Add trimWhiteSpaceEnd configuration option 2018-08-18 12:38:29 +03:00
Dimitry Ivanov
359fd8699d Implement Appendable and CharSequence in SpannableBuilder 2018-08-17 17:13:13 +03:00
Dimitry Ivanov
1bad514714 Moved html artifacts to corresponding packages 2018-08-17 16:47:11 +03:00
Dimitry Ivanov
be484765da Add attributes to start tags 2018-08-17 15:59:25 +03:00
Dimitry Ivanov
bf8ff03b1c Add HtmlEmptyTagReplacement abstraction for empty tags 2018-08-17 15:44:33 +03:00
Dimitry Ivanov
97a25ecc14 Fix close logic for blocks 2018-08-17 13:09:06 +03:00
Dimitry Ivanov
ff3bedc37e Added 2 modules: html-parser-api and html-parser-impl 2018-08-17 12:53:36 +03:00
Dimitry
7c7b1f59a8
V1.1.0 (#53)
* Update build configuration

* Update commonmark to 0.11.0 and android-gif to 1.2.14

* Add  module `library-syntax`

* Add default prism4j theme implementation

* Add syntax highlight to sample app

* Update syntax highlight to use SpannableStringBuilder

* Working with syntax rendering

* Add darkula theme to syntax highlight

* Add  attribute for image-loader module

* Update version to 1.1.0-SNAPSHOT

* Updating build configuration for snapshot publish

* Add headingTypeface, headingTextSizes to SpannableTheme (#51)

* Add headingTypeface to SpannableTheme, use a custom heading typeface in the sample app

* Add headingTextSizes

* Switching to headingTextSizeMultipliers, adding validating annotations, adding example

* Consolidate logic, add crash if header index is out of bounds

* Add small version clarifications

* Introduce MediaDecoder abstraction for image-loader module

* Switch to use SpannableFactory

* Switch to use SpannableFactory for html parsing

* Update sample application to add play-pause functionality for gifs

* Small cleanup

* Update prism4j version 1.1.0

* Update build configuration

* Add README to library-syntax module

* Update README
v1.1.0
2018-07-30 15:19:42 +02:00
Dimitry Ivanov
5ef985670a Rename final apk artifact name 2018-06-26 18:46:51 +02:00
Dimitry
cb66618d3a
V1.0.6 (#46)
* Fix bullet list item size (depend on text size and not top-bottom arguments)

* Add SNAPSHOT publishing

* Add ability to specify MovementMethod when applying markdown to a TextView

* Add information about new method signature to README (Markwon.setText)

* Fix README links reference

* Add new section to README (applications using markwon)

* Markdown images size is also resolved via ImageSizeResolver
v1.0.6
2018-06-26 10:50:56 +02:00
Dimitry Ivanov
ddb8989669 Update artifact version 1.0.5 2018-05-22 11:22:21 +03:00
Dimitry Ivanov
c9d688dd68 Update maven push script v1.0.5 2018-05-22 11:18:28 +03:00
Dimitry
a02e9bc523
V1.0.5 (#39)
* 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 (#37)
2018-05-22 11:15:14 +03:00
Dimitry Ivanov
35c39d0f6d Fix for maven badges links in README 2018-03-18 13:00:23 +03:00
Dimitry
9dd05434d9
V1.0.4 (#31)
* Fix for #28 (table is removed when at the end)

* Added support for IndentedCodeBlock (#30)
2018-03-18 11:59:30 +03:00
Dimitry
79fceb6f69
Custom extension sample (#27)
* Initialized custom extension module

* Upgraded android gradle plugin to 3.0.1

* Shaping up the custom extension module

* Added README to  module

* Small improvement for IconVisitor (added color null check)
2018-02-16 18:19:38 +03:00
Dimitry Ivanov
9bdcf8551c Updated version 2018-01-13 21:14:16 +03:00
Dimitry
d0537df14d
Fix for ordered list items to be greater than theme block margin (#22) v1.0.3 2018-01-13 21:06:34 +03:00
Dimitry
afad16c202
V1.0.2 (#17)
* Removing trailing new lines from parsed markdown

* Fix for heading break height and thematic break height

* Tables can have no borders (0)
v1.0.2
2017-11-24 12:04:32 +03:00
Dimitry
6e2dd36e4f
1.0.1 (#14)
* Added retention annotation for Alignment IntDef (#3)

* Task lists (#4)

* Added since annotation to newly added method/classes

* Fixed the indexes bug for margin spans (#6)

* Feature: Revert spans order (#11)

* SpannableBuilder

* Removed nullablity from Markwon class (no null markdown)

* Image sizes via HTML (#13)
2017-11-11 17:41:10 +03:00
Dimitry Ivanov
80efa6dd4c Small change for README 2017-05-29 18:57:04 +03:00
Dimitry Ivanov
0bf2a329f9 Added docs folder with split README 2017-05-29 18:46:07 +03:00
Dimitry Ivanov
678b50e2d4 Updating README 2017-05-29 18:21:07 +03:00
Dimitry Ivanov
b92c2f54ac Preparing the release v1.0.0 2017-05-27 16:54:08 +03:00
Dimitry Ivanov
ab332e1410 Updating README for library module 2017-05-27 16:27:48 +03:00
Dimitry Ivanov
2102f325a0 Updated README.md for library-view module 2017-05-27 16:09:08 +03:00
Dimitry Ivanov
332675cdee Added library-view module 2017-05-27 15:51:41 +03:00
Dimitry Ivanov
1ea0450025 Tweaking a bit defaults for thematic break & quote sign 2017-05-27 14:45:46 +03:00
Dimitry Ivanov
a7e1f178f4 Added gifs 2017-05-27 14:32:34 +03:00
Dimitry Ivanov
97f13926e0 Added ability to load from assets 2017-05-27 14:14:14 +03:00
Dimitry Ivanov
261f289329 Working with readmes 2017-05-26 17:42:17 +03:00
Dimitry Ivanov
0f1b6c4cf7 Preparing for release, started README and javadocs 2017-05-26 14:33:31 +03:00