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

Add support for multi-paragraph footnotes #76

Closed
andreubotella opened this issue Mar 1, 2023 · 0 comments · Fixed by #121
Closed

Add support for multi-paragraph footnotes #76

andreubotella opened this issue Mar 1, 2023 · 0 comments · Fixed by #121

Comments

@andreubotella
Copy link

andreubotella commented Mar 1, 2023

Describe the bug

dprint-plugin-markdown version: 0.15.2

Input Code

Some paragraph with a footnote[^1].

[^1]: Footnotes, as well as endnotes, are strings of text placed at the bottom
of a page in a book or document or at the end of a chapter, volume, or the whole
text.

    The footnote can provide an author's comments on the main text or
[citations](https://en.wikipedia.org/wiki/Citation) of a reference work in
support of the text.

With markdown-it-footnote, this parses as a paragraph followed by a single footnote containing two paragraphs:

image

Expected Output

No change, presumably.

Actual Output

Some paragraph with a footnote[^1].

[^1]: Footnotes, as well as endnotes, are strings of text placed at the bottom
of a page in a book or document or at the end of a chapter, volume, or the whole
text.

    The footnote can provide an author's comments on the main text or

[citations](https://en.wikipedia.org/wiki/Citation) of a reference work in
support of the text.

image

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 a pull request may close this issue.

1 participant