-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spacing & numbering issues with nested lists #38
Comments
@dmorrison-olive thanks for reporting this 🙏
Sorry that it takes so long. I'm working on it but haven't found a good solution... It's really tricky to fix 🤯
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. 👍 |
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!
The text was updated successfully, but these errors were encountered: