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

Deep indentation of lists does not work. #178

Open
petyosi opened this issue Nov 15, 2023 · 4 comments
Open

Deep indentation of lists does not work. #178

petyosi opened this issue Nov 15, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@petyosi
Copy link
Contributor

petyosi commented Nov 15, 2023

A markdown that has more than one level of indent in lists triggers an error:

* list
    * twice nested list

Problem here is that the AST handles this only through the position, start, end attributes - something that was not necessary to calculate so far.

@petyosi petyosi added the bug Something isn't working label Nov 15, 2023
@cjj1
Copy link

cjj1 commented Dec 5, 2023

Has this bug been fixed?

@gabrii
Copy link

gabrii commented Dec 14, 2023

I'm working on a chat application with this markdown editor, seems to have no issue: image

@petyosi
Copy link
Contributor Author

petyosi commented Dec 14, 2023

This works, but not if you jump from level 1 to level 3 with no in-between.

@c-schicho
Copy link

Is there any progress / plans on fixing this issue? or is there a workaround available to simply prevent this from happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants