76 Commits

Author SHA1 Message Date
Dimitry Ivanov
dc9a4dbf56 Removed html from core artifact 2018-11-26 17:27:53 +03:00
Dimitry Ivanov
d48b33e9a5 Add extension modules 2018-11-26 16:46:55 +03:00
Dimitry Ivanov
6eb8e64d75 Add bufferType Markwon option and fix GIF in sample 2018-11-26 16:11:16 +03:00
Dimitry Ivanov
66bb33a76b Create HtmlPlugin 2018-11-26 15:51:16 +03:00
Dimitry Ivanov
27ed17aaff Move all html entities to markwon-html module 2018-11-26 15:16:11 +03:00
Dimitry Ivanov
2efd12f020 Syntax highlight plugin, image modules (svg, gif), working sample application 2018-11-25 15:48:58 +03:00
Dimitry Ivanov
3526e16565 Core functionality plugin 2018-11-24 16:59:20 +03:00
Dimitry Ivanov
498c811987 POC for plugin system 2018-11-24 16:03:08 +03:00
Dimitry Ivanov
340ce5753c Update README (apps using...) 2018-11-22 13:35:45 +03:00
Dimitry Ivanov
82b8f2fdfd Update SpannableTheme to use Px instead of Dimension annotation 2018-11-22 13:08:01 +03:00
Dimitry Ivanov
b531684872 Allow TaskListSpan isDone mutation 2018-11-22 13:05:14 +03:00
Dimitry Ivanov
65ece1621c Updated commonmark-java to 0.12.1 2018-11-22 13:02:48 +03:00
Dimitry Ivanov
b2a467ffe9 Add OrderedListItemSpan measure utility method 2018-11-20 15:17:30 +03:00
Dimitry Ivanov
cb917e7391 Adding tests for SpannableBuilder 2018-11-05 12:14:15 +03:00
Dimitry Ivanov
7a1b76af66 Add SpannableBuilder#getSpans method 2018-11-04 15:37:17 +03:00
Dimitry Ivanov
cbf9a7b4a6 Small NB to build.gradle 2018-11-04 14:15:22 +03:00
Dimitry Ivanov
eb232037a1 Update syntaxHighlight test 2018-11-04 14:15:10 +03:00
Dimitry Ivanov
3eea327671 Add travis CI build status badge 2018-11-04 13:44:09 +03:00
Dimitry Ivanov
b9c1107f56 Add syntaxHighlight small test 2018-11-04 13:08:55 +03:00
Dimitry Ivanov
6dade2bf98 Update travis config to use 28.0.3 2018-11-04 12:59:26 +03:00
Dimitry Ivanov
499b8b47fc Update android gradle plugin to 3.2.1 2018-11-04 12:59:20 +03:00
Dimitry Ivanov
fed3d1fe33 Fix DataUri scheme handler in image-loader 2018-11-04 12:59:09 +03:00
Cyrus Bakhtiari-Haftlang
f78f153f9c Introduced a "copy" builder for SpannableTheme (#72) 2018-11-04 12:58:58 +03:00
Dimitry Ivanov
ca9e63b9fe Version 2.0.1-SNAPSHOT 2018-11-04 12:58:47 +03:00
Dimitry
e0563dca43
V2.0.0 (#66)
* Add `html-parser-api` and `html-parser-impl` modules
* Add `HtmlEmptyTagReplacement`
* Implement Appendable and CharSequence in SpannableBuilder
* Renamed library modules to reflect maven artifact names
* Rename `markwon-syntax` to `markwon-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
v2.0.0
2018-09-17 13:15:58 +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
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