Help the community by participating in the Jamstack Community Survey 2021. Take the 10-minute survey now.


306 stars
27 forks
54 issues
Home page

The main design goal of Madoko is to enable light-weight creation of high-quality scholarly and industrial documents for the web and print, while maintaining John Gruber's Markdown philosophy of simplicity and focus on plain text readability.

With Madoko you can write full-blown academic articles with internal references, mathematical formulas, and bibliographies completely in Markdown and LaTex to get beautiful PDF or HTML output.

Supports "including" source files and referencing both CSS and javascript. Read the reference manual to learn more. An easy way to manage a large project is to split up the content and have one including the chuncks:

css : lib/style.css

script: lib/myAweseomScriptsAndAnalytics.js




To learn more about Madoko, check out the reference manual. To use it, simply:

  • Install with:
npm install madoko -g
  • Translating a Markdown document to HTML is as simple as:
madoko mydoc.mdk
  • To also generate a PDF file, use:
madoko --pdf --odir=out mydoc

Find more static site generators.