Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

Internal links in footnotes

Solved! Go to Solution.

I'm using Github Pages service to generate a static website from a collection of markdown files.

Links in footnotes are not working as expected. They are rendered as links to markdown files, instead of links to html files.

 

test1.md

TEST[^1].

[test2](test2.md).             # <a href="/test2.html">test2</a>

[^1]: [test2](test2.md).       # <a href="test2.md">test2</a>

 

test2.md

TEST

 

Probably it is a bug in Jekyll, but I'm not sure.

2 Replies
Solution
Commander Lvl 2
Message 2 of 3

Re: Internal links in footnotes

Strictly speaking it is an issue with the "markdown converter". The default used to be kramdown, in case you don't have markdown defined in your _config.yml.

 

So you might dig into some other footnote plugins for Jekyll to see if any of them solve your issue.  E.g. 

 

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!

Copilot Lvl 2
Message 3 of 3

Re: Internal links in footnotes

Thanks for reply! I submitted a bug report to kramdown issue tracker.

Tried jekyll-footnotes plugin, but it doesn't seem to be working.