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

Unable to make inline footnotes work with superscript plugin #23

Open
SleeplessOne1917 opened this issue Sep 25, 2024 · 1 comment
Open

Comments

@SleeplessOne1917
Copy link

I recently made a markdown-it plugin for superscript that follows markdown extended syntax for superscript. When I use that library in tandem with markdown-it-footnote, inline footnotes don't get parsed to HTML. I'm unsure if this is a problem with my library or this repo's footnote library.

@Nutomic
Copy link

Nutomic commented Dec 18, 2024

It seems like the problem is in the footnote plugin. It should check if there is a trailing ^ character, and not generate a footnote in that case. See Nutomic/ibis#99.

Alternatively it would be possible to change the superscript logic to ignore strings containing [ or ] characters.

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

No branches or pull requests

2 participants