meta: add known limitation about ordered lists #97

Sublime Text renders ordered lists as unordered lists. I've only added it to the README.md for now, because I'm not sure about how the GitHub website and README should sync...
This commit is contained in:
Mathieu PATUREL
2019-12-05 07:35:27 +11:00
committed by GitHub
parent 9fe7369029
commit ec27d980a3

View File

@ -42,4 +42,24 @@ $ grep -R FIXME
2. Make your own branch (the name of the branch should be the feature you are
implementing eg. `improve-tables`, `fix-crash-on-multiple-preview`
3. All your code should be formated by black.
4. Send a PR!
4. Send a PR!
### Known limitations
#### Numbered lists are rendered as unordered lists
```md
1. first
2. second
3. third
```
will be previewed the exact same way as
```md
- first
- second
- third
```
The issue comes from [Sublime Text's minihtml](https://www.sublimetext.com/docs/3/minihtml.html) which [doesn't support ordered lists](https://github.com/sublimehq/sublime_text/issues/1767). If you think feel like implementing a workaround, feel free to contribute, but it's not something I'm planning on doing. It isn't a critical feature, and support should come with time...