Check out the videos from Jamstack Conf Virtual, October 6-7. Watch the presentations

Madoko

267 stars
25 forks
50 issues
Home page
https://www.madoko.net
Repository
koka-lang/madoko
Language:
JavaScript
License:
Apache-2.0
Templates:
HTML

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 index.md including the chuncks:

css : lib/style.css

script: lib/myAweseomScriptsAndAnalytics.js

[INCLUDE="whyWeDoIt.md"]

[INCLUDE="HowWeDoIt.md"]

[INCLUDE="WhatWeDo.md"]

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.