Version increment 1.0.4
This commit is contained in:
parent
92ad5a00ee
commit
e050a95f86
@ -12,9 +12,9 @@
|
||||
|
||||
## Installation
|
||||
```groovy
|
||||
compile 'ru.noties:markwon:1.0.3'
|
||||
compile 'ru.noties:markwon-image-loader:1.0.3' // optional
|
||||
compile 'ru.noties:markwon-view:1.0.3' // optional
|
||||
compile 'ru.noties:markwon:1.0.4'
|
||||
compile 'ru.noties:markwon-image-loader:1.0.4' // optional
|
||||
compile 'ru.noties:markwon-view:1.0.4' // optional
|
||||
```
|
||||
|
||||
## Supported markdown features:
|
||||
|
@ -6,7 +6,7 @@ org.gradle.configureondemand=true
|
||||
android.enableBuildCache=true
|
||||
android.buildCacheDir=build/pre-dex-cache
|
||||
|
||||
VERSION_NAME=1.0.3
|
||||
VERSION_NAME=1.0.4
|
||||
|
||||
GROUP=ru.noties
|
||||
POM_DESCRIPTION=Markwon
|
||||
|
@ -66,7 +66,7 @@ public abstract class Markwon {
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to apply parsed markdown. Please note, that if images or tables are used
|
||||
* Helper method to apply parsed markdown.
|
||||
*
|
||||
* @param view {@link TextView} to set markdown into
|
||||
* @param text parsed markdown
|
||||
|
@ -144,14 +144,23 @@ public class SpannableMarkdownVisitor extends AbstractVisitor {
|
||||
|
||||
@Override
|
||||
public void visit(FencedCodeBlock fencedCodeBlock) {
|
||||
// @since 1.0.4
|
||||
visitCodeBlock(fencedCodeBlock.getInfo(), fencedCodeBlock.getLiteral());
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 1.0.4
|
||||
*/
|
||||
@Override
|
||||
public void visit(IndentedCodeBlock indentedCodeBlock) {
|
||||
visitCodeBlock(null, indentedCodeBlock.getLiteral());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param info tag of a code block
|
||||
* @param code content of a code block
|
||||
* @since 1.0.4
|
||||
*/
|
||||
private void visitCodeBlock(@Nullable String info, @NonNull String code) {
|
||||
newLine();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user