All Collections
Author Help
How can I create an index for my Leanpub book?
How can I create an index for my Leanpub book?
Leanpub Support avatar
Written by Leanpub Support
Updated over a week ago

UPDATE! You can now create an index in Markua 0.30 (the default for all new books). Here is an article explaining how to create an index:

Currently we have no index support. Our index support for Markua is
specified but not implemented, and we have nothing in Leanpub
Flavoured Markdown.

You can find more information about this here.

The short answer as to why we haven't done this yet in the past 7+
years is that indexes are for 2 main things:

1. Helping readers find things.
2. Selling paper books (people look at the index).

#1 is solved mostly by being able to search the ebook (especially as a
PDF), and #2 is not very relevant for Leanpub.  Our book landing pages
do the job of trying to sell the ebook.

Now, we do recognize that an index does add some value, especially
when a print-ready PDF is being exported.  So, that's why I specified
it in Markua, and why we will end up building it.  But it will be one
of the last things we build in our Markua support, so chances are this
is between 9 and 18 months out.

Finally, details of what is currently not yet implemented in Leanpub's
Markua support is here:

If you have any feedback or questions about this article, please email the Leanpub team about it at!

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!

Are you interested in self-publishing, and creating your first Leanpub book? Here are some quick tutorials for our most popular writing modes:

Are you looking for great deals on Leanpub ebooks, ebook bundles, and courses? Sign up for our Weekly and Monthly newsletter sales here!

Subscribe to our YouTube channel here:

Please subscribe to our YouTube channel here:

You can also follow Leanpub in lots of other places!

Did this answer your question?