Open ahgraber opened 3 months ago
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 wontfix
because of the trouble, I fully understand!
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