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

Footnote in markdown files #215

Open
Pinkilla opened this issue Apr 24, 2024 · 1 comment
Open

Footnote in markdown files #215

Pinkilla opened this issue Apr 24, 2024 · 1 comment

Comments

@Pinkilla
Copy link

hello,

thanks a lot for your service.

I test it. I use a lot of footnotes and there are not render in html file. do you know why ?
is this correct ?

Quasi nobis adipisci similique est molestiae[^f] omnis sequi. Doloribus sed exercitationem 
et sed dicta. Eveniet aliquam et et voluptatem ut sunt doloremque rerum.

[^f]: Footnote content

thanks.

@Pinkilla
Copy link
Author

hi again,

I find a solution. in file markdown.py at line 40, just add support for footnotes.

 md = Markdown(
        extensions=[
            "meta",
            "fenced_code",
            "codehilite",
            "smarty",
            "footnotes",  # <--- here
            MarkdownLinkExtension(),
        ],
        output_format="html",
    )
    return md

could you please adding this for next release ?

thanks a lot.

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

1 participant