Markwon
Markwon copied to clipboard
Take ordered list start position into account
- Markwon version: 4.6.2
Expected: To take ordered list start positions in account
<ol start="2"> <li>content</li> </ol>
// expect to render
2. content
Actual: Always renders as 1. {message}
given the message
Favourite colour
<ol>
<li>red</li>
<li>green</li>
<li>blue</li>
</ol>
which renders as
Favourite colour
- red
- green
- blue
when replying with
- is my favourite
// as html
<ol start="2"> <li>green</li> </ol>
then markwon renders the message as
- is my favourite
Taking a quick peek at the code, I'm hoping this would be a small change to the ListHandler initial value
Hello @ouchadam ,
it is indeed missing from the ListHandler and could be added in the next version