HTML to Markdown converter missing list end for two consecutive lists
See original GitHub issue<p><strong>Ordered</strong></p>
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
<ol>
<li><a href="http://www.example.com">Example.com</a></li>
<li><a href="http://www.google.com">Google</a></li>
<li><a href="http://www.yahoo.com">Yahoo!</a></li>
<li><a href="http://www.example.com">Another Example.com</a></li>
</ol>
Is converted to:
**Ordered**
1. Item 1
2. Item 2
3. Item 3
1. [Example.com](http://www.example.com)
2. [Google](http://www.google.com)
3. [Yahoo!](http://www.yahoo.com)
4. [Another Example.com](http://www.example.com)
instead of:
**Ordered**
1. Item 1
2. Item 2
3. Item 3
<!-- -->
1. [Example.com](http://www.example.com)
2. [Google](http://www.google.com)
3. [Yahoo!](http://www.yahoo.com)
4. [Another Example.com](http://www.example.com)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
order list <ol> without "start=" ? · Issue #132 · vsch/flexmark-java
Hi,@vsch I want to render the text: - 1. list1 - 2. list2 - 3. list3 But ... HTML to Markdown converter missing...
Read more >Formatting style - mdformat 0.7.16 documentation
Once converted to HTML and rendered on screen, formatted Markdown should yield a result that is visually identical to the unformatted document.
Read more >kramdown Syntax
The original Markdown syntax allows the markers of ordered and unordered lists to be mixed, the first marker specifying the list type (ordered...
Read more >Markdown: continue numbered list - Stack Overflow
I solved this problem on Github separating the indented sub-block with a newline, for instance, you write the item 1, then hit enter...
Read more >Markdown Service Tools - BrettTerpstra.com
Convert - HTML to Markdown: This Service “Markdownifies” HTML source, ... Lists - Bullet List/Numbered List: These two commands create and clean up...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@GomiGuchi, repo updated. Maven release in progress.
@vsch I am facing similar issue while trying to convert md file to HTML. Ordered list is being rendered into first unordered list. Added double blank line to end the list as suggested here, https://github.com/vsch/flexmark-java/issues/132, but no luck. My md file data
Output:
Without adding a HTML comment in md file, is there any parsing option that I should try to solve this. Tried different List parsing options from here, https://github.com/vsch/flexmark-java/wiki/Extensions#list-parsing-options. But no luck. Could you please give some advice.