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

fix: better code fence handling #88

Merged
merged 1 commit into from
Apr 23, 2023
Merged

fix: better code fence handling #88

merged 1 commit into from
Apr 23, 2023

Conversation

tommilligan
Copy link
Owner

@tommilligan tommilligan commented Apr 23, 2023

Closes #87

Accurately handle all the quirky variations of code fences from the common markdown spec: https://spec.commonmark.org/0.30/#fenced-code-blocks

This now supports longer code fences like ~~~~.

Also adds test coverage for the nested code block case generally (at a unit and integration test level)

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.

[feature]: admonish discriminator
1 participant