All Collections
Author Help
How can I change my code font?
How can I change my code font?
Leanpub Support avatar
Written by Leanpub Support
Updated over a week ago

You can change the code font by going to your book's Theme page here:

...making sure to replace YOUR_BOOK with your own book's address of course.

Next, select the "Custom" theme setting, if you haven't already. (This requires a Standard or Pro account.)

If you scroll down you'll find the Code Font section:

After selecting another font, make sure to scroll to the bottom of the page and click the blue "Update Theme" button.

OK, that's it!


If you have any feedback or questions about this article, please email the Leanpub team about it at hello@leanpub.com!

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: 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!

Subscribe to our YouTube channel here: https://www.youtube.com/leanpub

Please subscribe to our YouTube channel here: https://www.youtube.com/leanpub

You can also follow Leanpub in lots of other places!

Did this answer your question?