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

Leading Slash Added to Generated Links #12

Closed Undistraction closed 4 years ago

Undistraction commented 4 years ago

Using your examples in README, I'm seeing a leading slash added to the generated links at both the point of reference and the footnote.

For example [^ref1] is converted to href="/#fn-1 which then links to that anchor on the home page.

Undistraction commented 4 years ago

My bad. Had some logic working on generated markdown links. Sorry for the noise.