NME, or Nyctergatis Markup Engine, is an open-source ISO-C implementation of a markup parser based on Creole 1.0. Creole (http://www.wikicreole.org) is a collaborative effort to create a common markup language to be used across different wikis.
NME converts text with markup to other formats, such as HTML or LaTeX. Several output formats are provided, and new ones can be added. Provided in the same package, NE (Nyctergatis EPUB) is a library which creates EPUB2 or EPUB3 documents. NME and NE can be used as libraries in larger projects or from the shell as command-line tools.