Update jlatexmath-android dependency

This commit is contained in:
Dimitry Ivanov 2020-04-30 16:30:33 +03:00
parent 851172a785
commit c661eb486d
3 changed files with 9 additions and 6 deletions

View File

@ -4,11 +4,14 @@
* `TextViewSpan` to obtain `TextView` in which markdown is displayed (applied by `CorePlugin`)
* `TextLayoutSpan` to obtain `Layout` in which markdown is displayed (applied by `TablePlugin`, more specifically `TableRowSpan` to propagate layout in which cell content is displayed)
* `HtmlEmptyTagReplacement` now is configurable by `HtmlPlugin`, `iframe` handling ([#235])
* `AsyncDrawableLoader` now uses `TextView` width without padding instead of width of canvas
* `AsyncDrawable` now uses `TextView` width without padding instead of width of canvas
* Support for images inside table cells (`ext-tables` module)
* expose `enabledBlockTypes` in `CorePlugin`
* Expose `enabledBlockTypes` in `CorePlugin`
* Update `jlatexmath-android` dependency ([#225])
[#235]: https://github.com/noties/Markwon/issues/235
[#225]: https://github.com/noties/Markwon/issues/225
# 4.3.1
* Fix DexGuard optimization issue ([#216])<br>Thanks [@francescocervone]

View File

@ -72,7 +72,7 @@ ext {
'commonmark-table' : "com.atlassian.commonmark:commonmark-ext-gfm-tables:$commonMarkVersion",
'android-svg' : 'com.caverock:androidsvg:1.4',
'android-gif' : 'pl.droidsonroids.gif:android-gif-drawable:1.2.15',
'jlatexmath-android' : 'ru.noties:jlatexmath-android:0.2.0-SNAPSHOT',
'jlatexmath-android' : 'ru.noties:jlatexmath-android:0.2.0',
'okhttp' : 'com.squareup.okhttp3:okhttp:3.9.0',
'prism4j' : 'io.noties:prism4j:2.0.0',
'debug' : 'io.noties:debug:5.0.0@jar',

View File

@ -44,7 +44,7 @@ public class HtmlActivity extends ActivityWithMenuOptions {
.add("randomCharSize", this::randomCharSize)
.add("enhance", this::enhance)
.add("image", this::image)
.add("elegantUnderline", this::elegantUnderline)
// .add("elegantUnderline", this::elegantUnderline)
.add("iframe", this::iframe)
.add("emptyTagReplacement", this::emptyTagReplacement);
}
@ -60,8 +60,8 @@ public class HtmlActivity extends ActivityWithMenuOptions {
// let's define some custom tag-handlers
textView = findViewById(R.id.text_view);
elegantUnderline();
emptyTagReplacement();
}
// we can use `SimpleTagHandler` for _simple_ cases (when the whole tag content