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

Allow up to three spaces indentation before footnote definition #759

Merged

Conversation

notriddle
Copy link
Collaborator

Fixes #758

This matches GitHub and commonmark-hs's behavior.

footnote 1
footnote [^quux]

[^quux]: x

Footnotes

  1. x

This matches GitHub and commonmark-hs's behavior.
@Martin1887 Martin1887 merged commit 86471f8 into pulldown-cmark:master Oct 31, 2023
1 check passed
@notriddle notriddle deleted the notriddle/footnote-indent branch October 31, 2023 20:03
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.

[fuzz result] footnote definition not parsed when there's <4 spaces indentation
2 participants