In Markua, you can add footnotes like this:
There is a main body footnote at the end of this line.[^mainbodyfootnote]
[^mainbodyfootnote]: This is a main body footnote.
(Please note you don't have to type "mainbodyfootnote" after the ^. You can type anything you like. For a more comprehensive article on adding footnotes, please see this article.)
You can also technically add footnotes in Asides, like this:
A> There is an aside footnote at the end of this line.[^asidefootnote]
[^asidefootnote]: This is an aside body footnote.
However, in the PDF produced by Leanpub's book generators from your book manuscript, footnotes in Asides will be listed in the Aside, not at the bottom of the page.
β
Yes, this is terrible.
(In the EPUB and the MOBI versions, all footnotes are placed at the end of the book.)
So, let's imagine we have a normal "main body" footnote, and an Aside footnote, on the same page. Here is how we would write this in a chapter in Markua:
# Chapter One
There is a main body footnote at the end of this line.[^mainbodyfootnote]
A> There is an aside footnote at the end of this line.[^asidefootnote]
[^mainbodyfootnote]: This is a main body footnote.
[^asidefootnote]: This is an aside body footnote.
Here is what this will look like in the PDF:
Again, we understand that this is bad.
β
Note that footnotes in Asides are listed by letter, not by number:
We understand that this is also bad.
β
At some point, we will presumably fix this, so that footnotes are listed at the bottom of the page, regardless of whether they were in normal paragraph text or in something like an aside. However, we cannot promise when this will be done. For now, we would recommend not using footnotes inside Asides.
If you have any questions or thoughts on writing and self-publishing with Leanpub, please join our global community of authors in our Authors Forum here!
Interested in creating your first Leanpub book? Here are some quick tutorials for our most popular writing modes: http://help.leanpub.com/en/articles/3088382-quick-walkthroughs-for-getting-started-on-a-leanpub-book
Are you looking for great deals on Leanpub ebooks, ebook bundles, and courses? Sign up for our Weekly and Monthly newsletter sales here!