How do I enable footnotes? #48
-
No matter what I do, I can't seem to get footnotes to parse or be rendered. Test code:
I could upload the PDF, but basically it just says:
I see there is a 'notes' option (extension?) for Lunamark to deal with footnotes, which appears to default to off, but as far as I can tell from reading the markdown.sile source, this should be turned on. Help? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
(Yes, markdown.sile turns the "notes" feature "on" by default.) It actually seems lunamark expects a blank line after the footnote 👀
Note the blank line before closing the raw environment. Well, the workaround is simple, but it's clearly a bug or interpretation issue in Lunamark, as I can reproduce it with a standalone Lua script (converting to HTML with only the bare lunamark library):
Here again, it fails to parse the note, but adding a blank line makes the parser happy. (Note that as far as markdown.sile is concerned, it therefore also affects the |
Beta Was this translation helpful? Give feedback.
(Yes, markdown.sile turns the "notes" feature "on" by default.)
It actually seems lunamark expects a blank line after the footnote 👀
I just tried the following and I got the footnote as expected:
Note the blank line before closing the raw environment.
Well, the workaround is simple, but it's clearly a bug or interpretation issue in Lunamark, as I can reproduce it with a standalone Lua script (converting to HTML with only the bare lunamark library):