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

Kramdown footnotes don't seem to work? #1246

Closed
aufflick opened this issue Apr 23, 2021 · 5 comments
Closed

Kramdown footnotes don't seem to work? #1246

aufflick opened this issue Apr 23, 2021 · 5 comments

Comments

@aufflick
Copy link

Jazzy uses kramdown (according to the git logs that I've skimmed), and Kramdown has a footnote syntax: https://kramdown.gettalong.org/quickref.html#footnotes But when I try to use that syntax in raw .md files included by Jazzy, the HTML just includes literal "[^1]" body text.

I don't see any options that Kramdown needs to render this.

@johnfairh
Copy link
Collaborator

Jazzy uses redcarpet for its markdown rendering. It looks like there's a footnote option available that isn't turned on -- I haven't checked how the default HTML renderer copes with it, would be worth investigating.

@aufflick
Copy link
Author

Ah I see - I didn't notice there were two Markdown parser libraries in use :) I'll play with enabling that option and see if there are any negative consequences.

@johnfairh
Copy link
Collaborator

I had a go at this in #1253.

@aufflick
Copy link
Author

aufflick commented May 5, 2021

This is amazing - I just tried it out and it works perfectly :D

@johnfairh
Copy link
Collaborator

Great - will be in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants