Closed dmorrison-olive closed 2 months ago
@dmorrison-olive thanks for reporting this 🙏
extra line breaks
Sorry that it takes so long. I'm working on it but haven't found a good solution... It's really tricky to fix 🤯
numbering gets off
Unfortunately, that's not that easy to fix, since I'm already allocating the numbers before it's detecting that an item is empty and can be skipped. Since it's just visuals, I won't fix it right now.
Thanks! And that makes sense about the numbering, since it doesn't matter and is technically still valid Markdown. 👍
On the "v2" branch are a lot of improvements — including a fix to this bug.
It is still experimental but feel free to give it a try. Happy to hear about your experience 😊
I am going to close this issue. If you find anything with the new version, please open a new issue!
Describe the bug
I see a couple issues with nested lists.
One issue is that there are extra line breaks between list items in nested lists. When I render this in my application, it wraps text with a
<p>
if there's an extra line break (which has implications for margin/padding).Another (small) issue I see is that numbering gets off for numbered lists. I realize this doesn't matter with Markdown, but I thought I'd note it.
HTML Input
Generated Markdown
Note how there are extra line breaks after "2. Richie General.", " 2. But not hard.", "- Dorothy Hardy", and " - Interim".
Also note how "4. Port Charles Main." should be "3. Port Charles Main.".
Expected Markdown
Additional context
I see this with the latest version (1.3.0). I'm using no plugins.
Thanks for the utility!