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

Support multiline footnotes #552

Closed
zegl opened this issue Mar 19, 2024 · 0 comments · Fixed by #553
Closed

Support multiline footnotes #552

zegl opened this issue Mar 19, 2024 · 0 comments · Fixed by #553

Comments

@zegl
Copy link
Contributor

zegl commented Mar 19, 2024

Many services, including GitHub, supports multiline footnotes on following format1:

[^format]: row
row
row

and an indented format that allows for empty lines inside the note2

[^indented]: row
    more

    footnote after empty line

footnote after empty line

They also support a limited set of markdown in footnotes3:

[^md]: row
**row**
`row`

markdown-to-jsx currently only supports single line footnotes4.

[^single]: single line

I'm proposing to add support for multiline footnotes in markdown-to-jsx as well, which I would be willing to contribute the code for.

Footnotes

  1. row
    row
    row

  2. row
    more

  3. row
    row
    row

  4. single line

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