-
Notifications
You must be signed in to change notification settings - Fork 158
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
footnotes within callout shortcodes do not render correctly #379
Comments
Hi @ahgraber thank you for reporting this. Currently the callout shortcode doesn't have the context of its parent page, thus the footnote was not correctly parsed along with other ones in the parent page. I'll see what I could do to fix it. |
@imfing Thanks! I saw comments on hugo forums about the same; it seems like it might require jumping through a lot of hoops to provide the parent context, which might induce a lot of edge cases? If this becomes a |
I'd keep this open, while waiting to see if there could be any solutions from Hugo community in the future. |
Description
Footnote notation
[^3]
in callout shortcodes do not seem to be identified correctly; do not get included in footnotes.Steps To Reproduce
Expected Behavior
The footnote link should be superscripted and the footnote should be included.
Actual Behavior
The footnote link was left as plaintext "[^3]" and the footnote was not rendered
Screenshots
footnote link unrecognized
footnote is not included (link should be 3 and it is missing)
raw text of what should render
Environment
Additional Context
The text was updated successfully, but these errors were encountered: