markdown-to-pdf
markdown-to-pdf copied to clipboard
Footnotes not rendering
Thanks for highlighting this!
It looks like there is a markdown-it to support footnotes: markdown-it-footnote
There likely would also need to be a change to the default css theme to add formatting.
If there is anything I can do to help implement this, please let me know! I think I understand the how to make the changes, but I don't know how to test to ensure that I didn't break anything.
In addition to needing to add the following:
const markdownItFootnote = require('markdown-it-footnote');
...
md.use(markdownItFootnote);
It will also require updating the CSS file to have the footnote classes defined; there are a few options, but depending on where the original CSS originated could help determine a set that would fit the current theme.