-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Render unfinished lists correctly (#1822)
Fixes: #676 When a list has a trailing `-` the markdown renderer (showdown) will make the previous list element an h2. Technically this is valid markdown and is doing what it should but this is usually not the intention of the user. Because we auto-add a `-` after a carriage return users run into this issue regularly. This issue is resolved by enabling the `smoothLivePreview` option in showdown. You can replicate this with the following markdown: ``` - test 1 - test 2 - test 3 - ``` Currently, this will output: ``` <ul> <li>test 1</li> <li>test 2</li> </ul> <h2 id="test3">- test 3</h2> ``` After the addition of the `smoothLivePreview` option it will return: ``` <ul> <li>test 1</li> <li>test 2</li> <li>test 3</li> - </ul> ```
- v2.23.0
- v2.23.0-beta.1
- v2.22.2
- v2.22.2-beta.5
- v2.22.2-beta.4
- v2.22.2-beta.3
- v2.22.2-beta.2
- v2.22.2-beta.1
- v2.22.1
- v2.22.1-beta1
- v2.22.0
- v2.22.0-beta8
- v2.22.0-beta7
- v2.22.0-beta6
- v2.22.0-beta5
- v2.22.0-beta3
- v2.22.0-beta2
- v2.22.0-beta1
- v2.21.0
- v2.21.0-beta1
- v2.20.0
- v2.20.0-beta1
- v2.19.1
- v2.19.0
- v2.19.0-beta2
- v2.19.0-beta1
- v2.18.0
- v2.18.0-beta1
- v2.17.0
- v2.17.0-beta1
- v2.16.0
- v2.16.0-beta1
- v2.15.0
- v2.15.0-beta1
- v2.14.0
- v2.14.0-beta1
- v2.13.0
- v2.13.0-beta2
- v2.13.0-beta1
- v2.12.0
- v2.12.0-beta1
- v2.11.0
- v2.11.0-beta1
- v2.10.0
- v2.10.0-beta2
- v2.10.0-beta1
- v2.9.0
- v2.9.0-beta1
- v2.8.0
- v2.8.0-beta3
- v2.8.0-beta2
- v2.8.0-beta1
- v2.7.1
- v2.7.1-beta2
- v2.7.1-beta1
- v2.7.0
- v2.7.0-beta1
- v2.6.0
- v2.6.0-beta2
- v2.6.0-beta1
- v2.5.0
- v2.5.0-beta1
- v2.4.0
- v2.4.0-beta2
- v2.4.0-beta1
- v2.3.0
- v2.3.0-beta1
- v2.2.0
- v2.2.0-beta1
- v2.1.0
- v2.1.0-beta2
- v2.1.0-beta1
- v2.0.0
- v2.0.0-beta1
- v1.21.1
- v1.21.0
- v1.21.0-beta2
- v1.21.0-beta1
- v1.21-beta0
- v1.20.0
- v1.20.0-beta3
- v1.20.0-beta2
- v1.20.0-beta1
- v1.19.0
- v1.19.0-beta1
- v1.18.0
- v1.18.0-beta2
- v1.18.0-beta1
- v1.17.1
- v1.17.0
- v1.17.0-beta3
- v1.17.0-beta2
- v1.17.0-beta1
- v1.16.0
- v1.16.0-beta2
- v1.16.0-beta1
- v1.16
- v1.15.1
- v1.15.0
- v1.15.0-beta.2
- v1.15.0-beta.1
- v1.14.0
- v1.14.0-beta.2
- v1.14.0-beta.1
- v1.14.0-beta1
- 2.22.2-beta.3
- 1.16.0-beta1
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters