Developers September 28, 2020

I built a free tool to write Ebooks in Markdown

Ryan @rfitz

I'm a big fan of Markdown (Love using them to write blog posts, etc), so this weekend I took some time to throw together a build pipeline that converts .md files to pdf.

After seeing that a number of others have written full ebooks in Markdown (like Adam Wathan), I wanted to try the same thing out. The pipeline was pretty quick to throw together, it basically takes multiple .md files, merges them together, converts them to HTML (+ applies CSS styles), and then generates the final pdf.

I open-sourced the project here:

If you'd like to see the example PDF output, you can download the sample from Github directly:

It's not perfect but it gets the job done and spits out some decent looking pdfs. So feel free to use it, fork it, or just get some inspiration from it if you want to build your own!

  1. 2

    Sweet! Thanks for creating this 👍

    I'm a huge Markdown fan myself. I write pretty much everything in Markdown first. I'll definitely take it for a spin the upcoming weeks.

    1. 1

      No problem! Let me know how it goes when you get a chance to try it out.

  2. 1

    Hey @rfitz, this is great! Can you give us screenshots of the final output? I think it might help to lure some people in 😉

    Keep it up

Recommended Posts