Add a separate mode to parse footnotes the same way GitHub does by notriddle · Pull Request #654 · pulldown-cmark/pulldown-cmark (original) (raw)

Resolves pulldown-cmark#20

Resolves pulldown-cmark#530

Resolves pulldown-cmark#623

This change is similar to, but a more limited change than, <pulldown-cmark#544>. It changes the syntax, but does not touch the generated HTML or event API.

Motivation

This commit is written with usage in mdBook, rustdoc, and docs.rs in mind.

[^c]: cmark-gfm is under the MIT license, so incorporating parts of its test suite into pulldown-cmark should be fine.