Project

gmd

0.0
No commit activity in last 3 years
No release in over 3 years
gmd is a small command-line utility to easily generate fancy HTML from Markdown.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

gmd

What is it?

gmd is a small command-line utility to easily generate fancy HTML from Markdown.

Installation

$ [sudo] gem install gmd

Usage

$ gmd text.md

Will generate HTML from the text.md and save it to text.html.

$ gmd text.md -l <layout>

Will generate and save HTML from the text.md using specified layout.

Built-in layouts:

  • default
  • github - something similar to new GitHub style
  • metal - something like older GitHub style

Actually, the deafult style is also (a very very old) GitHub style ;)

TeX-based math

gmd supports TeX formulas! Just use $ ... $ for inline math and $$ ... $$ for display math.

An inline math here: $e^{i\pi} = -1$. Awesome!

$$
\left( \sum_{k=1}^n a_k b_k \right)^{\!\!2} \leq
 \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
$$