Update CHANGELOG for upcoming 4.3.0 version

This commit is contained in:
Dimitry Ivanov 2020-02-26 17:29:49 +03:00
parent 8da8a37178
commit cc35c35581
5 changed files with 28 additions and 17 deletions

View File

@ -1,7 +1,18 @@
# Changelog
# 4.3.0-SNAPSHOT
* add `MarkwonInlineParserPlugin` in `inline-parser` module
* `JLatexMathPlugin` now supports both inline and block structures
this comes with a breaking change: `JLatexMathPlugin` now depends on `inline-parser` module and `MarkwonInlineParserPlugin` must be explicitly added to a `Markwon` instance:
```java
final Markwon markwon = Markwon.builder(this)
.usePlugin(MarkwonInlineParserPlugin.create())
.usePlugin(JLatexMathPlugin.create(textSize))
.build();
```
* `JLatexMathPlugin`: add `theme` (to customize both inlines and blocks)
* `JLatexMathPlugin`: add `renderMode` to use previous (pre `4.3.0`) LaTeX rendering
# 4.2.2
* Fixed `AsyncDrawable` display when it has placeholder with empty bounds ([#189])

View File

@ -15,7 +15,7 @@ import org.commonmark.parser.block.ParserState;
* @since 4.3.0-SNAPSHOT (although there was a class with the same name,
* which is renamed now to {@link JLatexMathBlockParserLegacy})
*/
public class JLatexMathBlockParser extends AbstractBlockParser {
class JLatexMathBlockParser extends AbstractBlockParser {
private static final char DOLLAR = '$';
private static final char SPACE = ' ';

View File

@ -11,7 +11,7 @@ import org.commonmark.parser.block.ParserState;
/**
* @since 4.3.0-SNAPSHOT (although it is just renamed parser from previous versions)
*/
public class JLatexMathBlockParserLegacy extends AbstractBlockParser {
class JLatexMathBlockParserLegacy extends AbstractBlockParser {
private final JLatexMathBlock block = new JLatexMathBlock();

View File

@ -11,7 +11,7 @@ import io.noties.markwon.inlineparser.InlineProcessor;
/**
* @since 4.3.0-SNAPSHOT
*/
public class JLatexMathInlineProcessor extends InlineProcessor {
class JLatexMathInlineProcessor extends InlineProcessor {
private static final Pattern RE = Pattern.compile("(\\${2})([\\s\\S]+?)\\1");