Skip to content
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

Incorrect handling of list entry text #56

Open
sidju opened this issue Nov 11, 2023 · 1 comment
Open

Incorrect handling of list entry text #56

sidju opened this issue Nov 11, 2023 · 1 comment

Comments

@sidju
Copy link

sidju commented Nov 11, 2023

To add multiple lines of text to a list entry one should indent the text below the entry to signify that it belongs to it. This sign isn't currently looked for by termimad, so the text of a sub-list entry is highlighted as a codeblock (since it is indented 4 spaces).

Adding some statefulness to the printing, to track if printing indented lines after a list entry of which depth, would be a nice improvement.

@zannabianca1997
Copy link

I am having this issue too. It's more a problem of minimad, I am going to open a PR there.
I fear it will be difficult to add state to the parser, as the whole parsing is only line-based

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants