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

Markdown lists mixed with LaTeX environments #637

Open
edemaine opened this issue Nov 1, 2023 · 0 comments
Open

Markdown lists mixed with LaTeX environments #637

edemaine opened this issue Nov 1, 2023 · 0 comments

Comments

@edemaine
Copy link
Owner

edemaine commented Nov 1, 2023

What's wrong?

Markdown lists both within and immediately after LaTeX environments cause the latter to get no <ul> wrapper

How to Reproduce

\begin{definition}
- Inside bullet
- Inside bullet
\end{definition}
Some text:
- Outside bullet
- Outside bullet

Example post

Root issue

Investigating more, this is about interactions between HTML and Markdown parsing. Consider:

<blockquote>
* Hello world
</blockquote>
* item
* item

The Markdown parser has been told to ignore the <blockquote>s, so doesn't realize that the </blockquote> terminates the list.

Perhaps we need to grab HTML blocks but then run the insides through Markdown, instead of just treating them raw.

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

No branches or pull requests

1 participant