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

Fenced div separator fix #157

Closed
wants to merge 5 commits into from
Closed

Fenced div separator fix #157

wants to merge 5 commits into from

Conversation

lostenderman
Copy link
Owner

@lostenderman lostenderman commented Mar 2, 2024

[fix in progress]

A top_level group is added modifying whether a fencestart (:::) can interrupt a paragraph or not. Two versions of EndlineExceptions are therefore used, one with a fencestart (when is_top_level is true) and one without. The is_top_level group is set to false before parsing a V("Block") and set to true before parsing a (V("Paragraph").

Passes:

::: {#div}
> a
> :::

b
:::

Fails:

::: {#div}
> a
:::

@lostenderman lostenderman marked this pull request as draft March 2, 2024 13:06
markdown.dtx Outdated Show resolved Hide resolved
@Witiko
Copy link
Collaborator

Witiko commented Apr 3, 2024

Closed via Witiko#431.

@Witiko Witiko closed this Apr 3, 2024
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

Successfully merging this pull request may close these issues.

2 participants