Clarify CHANGELOG for LinkResolver rename

This commit is contained in:
Dimitry Ivanov 2020-03-02 09:26:44 +03:00
parent 823c26448a
commit 3ac21a7ab3
2 changed files with 9 additions and 4 deletions

View File

@ -100,7 +100,7 @@ use `Markwon#builderNoCore()` to obtain a builder without `CorePlugin`
* Added `MarkwonPlugin.Registry` and `MarkwonPlugin#configure(Registry)` method
* `CorePlugin#addOnTextAddedListener` (process raw text added)
* `ImageSizeResolver` signature change (accept `AsyncDrawable`)
* `LinkResolver` is now an independent entity (previously part of `LinkSpan`)
* `LinkResolver` is now an independent entity (previously part of the `LinkSpan`), `LinkSpan.Resolver` -> `LinkResolver`
* `AsyncDrawableScheduler` can now be called multiple times without performance penalty
* `AsyncDrawable` now exposes its destination, image-size, last known dimensions (canvas, text-size)
* `AsyncDrawableLoader` signature change (accept `AsyncDrawable`)

View File

@ -81,10 +81,15 @@ More information about props can be found [here](/docs/v4/core/render-props.md)
---
:::tip Soft line break
Since <Badge text="3.0.0" /> Markwon core does not give an option to
insert a new line when there is a soft line break in markdown. Instead a
custom plugin can be used:
Since <Badge text="4.3.0" /> there is a dedicated plugin to insert a new line for
markdown soft breaks - `SoftBreakAddsNewLinePlugin`:
```java
final Markwon markwon = Markwon.builder(this)
.usePlugin(SoftBreakAddsNewLinePlugin.create())
.build();
```
It is still possible to do it manually with a custom visitor:
```java
final Markwon markwon = Markwon.builder(this)
.usePlugin(new AbstractMarkwonPlugin() {