I know Python basics, what next?
Poster created using Canva
learnbyexample
Poster created using Canva
Either you've already heard of pandoc
or if you have searched online for markdown
to pdf
or similar, you are sure to come across pandoc
. This tutorial will help you use pandoc
to generate pdf
and epub
from a GitHub style markdown file. The main motivation for this blog post is to highlight what customizations I did to generate pdf
and epub
versions for self-publishing my ebooks. It wasn't easy to arrive at the setup I ended up with, so I hope this will be useful for those looking to use pandoc
to generate pdf
and epub
formats. This guide is specifically aimed at technical books that has code snippets.
Poster created using Canva
Above diagram created using Regulex
Above visualization created using debuggex for the pattern r'\bpar(en|ro)?t\b'
Photo Credit: Tranmautritam on Pexels
The above image was generated using matplotlib
courtesy code provided by Doing Math with Python book.
So, a pleasant surprise awaited me last Sunday. As is my usual habit, I opened my github account after breakfast to see if I've got any sudden spurt in traffic. And as usual, things were normal. Except for the blue notification, which was rare. I hoped it wasn't a silly pull request and thankfully it was a new issue that was opened.