Skip to content

Commit

Permalink
Version increment 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitry Ivanov committed Mar 18, 2018
1 parent 92ad5a0 commit e050a95
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/java/ru/noties/markwon/Markwon.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static void setMarkdown(
}

/**
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,23 @@ public void visit(Code code) {

@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();

Expand Down

0 comments on commit e050a95

Please sign in to comment.