jlengstorf / gatsby-remark-numbered-footnotes

A small plugin to change named footnotes to numbered footnotes in your Gatsby pages using Markdown.
16 stars 3 forks source link

Inline return links #11

Closed HarshilShah closed 4 years ago

HarshilShah commented 4 years ago

I’m not entirely sure what the canon style is since the original Markdown itself doesn’t include support for footnotes, but in most sites I’ve seen (including the one run by John Gruber, who created Markdown) return links from footnotes are present in the last <p> or similar block level tag, rather than as a separate top level link after it.

It would be nice to have an option of using that style with this package.

EDIT: Playing around with MDX and seems like they also support inline footnote return links, as tested here: mdxjs.com/playground

HarshilShah commented 4 years ago

I’ve discovered this is just how gatsby-transformer-remark parses them so I’ve opened an issue there and am closing this one.