Skip to content

Commit ad75c59

Browse files
committed
Update changelog with inner links support
1 parent de22c1c commit ad75c59

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [2.0.0] - April 1, 2021:
22
* Support basic MathML
3+
* Support inner links
34
* Supply full context tree to custom render
45
* Include or exclude specific tags via `tagsList` parameter
56
* Fixed lists not rendering correctly

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ Widget html = Html(
242242
);
243243
```
244244

245+
Inner links (such as `<a href="#top">Back to the top</a>` will work out of the box by scrolling the viewport, as long as your `Html` widget is wrapped in a scroll container such as a `SingleChildScrollView`.
246+
245247
### customRender:
246248

247249
A powerful API that allows you to customize everything when rendering a specific HTML tag. This means you can change the default behaviour or add support for HTML elements that aren't supported natively. You can also make up your own custom tags in your HTML!

0 commit comments

Comments
 (0)