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

Suggestion: allow blockquotes as list item contents? #215

Open
DivineDominion opened this issue Jul 10, 2021 · 1 comment
Open

Suggestion: allow blockquotes as list item contents? #215

DivineDominion opened this issue Jul 10, 2021 · 1 comment

Comments

@DivineDominion
Copy link
Contributor

image

CommonMark allows blockquotes at the start of lists. I think this might be useful in deeply nested outlines where an item is a citation.

This might be cumbersome to add if I understand the set-up of MMD6 correctly, since both list items and blockquotes are block level items, and I believe one cannot nest these?

@fletcher
Copy link
Owner

Yeah.... This is highly dependent on what sort of parser you are using....

Markdown does not support this.

MultiMarkdown v5 did (it's parser was very recursive, so it was easy to "trash" the outer level and re-parse the inner level, but this did cause a performance hit)

MultiMarkdown v6 does not support this, as you note.

I am not philosophically opposed to it, though I'm not sure how necessary it is. To me it's currently more of a pragmatic issue of how much time would it take to implement vs other things I am working on. Additionally, how much would it impact MultiMarkdown v6 performance, and would it increase the risk of other parsing errors/issues.

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