This plugin allows using Markdown syntax in Stog documents, by calling an external tool to convert this syntax to XHTML.

By default, the markdown calls the markdown command, so make sure that markdown is installed.

Usage:

$ stog --package stog.markdown ...

This plugin was contributed by Gabriel Scherer.

This plugin adds a new base rule markdown.

## A typical markdown example [Markdown](http://daringfireball.net/projects/markdown/) is a markup language meant to be written simply in a text editor, with a markup that is both easy to read and write. It is later translated into HTML by one of the numerous `markdown` implementations. ]]>

The markdown rule calls the markdown command line tool to convert Markdown syntax to (X)HTML. Here is the result, embedded in a box:

The markdown rule handles attributes command and args.

The command attribute is used to specify another command than markdown. The value of args attribute is added on the command line.

Here is an example of using pandoc command, using args attribute to make it translate our markdown code into XHTML:

## A typical markdown example [Markdown](http://daringfireball.net/projects/markdown/) is a markup language meant to be written simply in a text editor, with a markup that is both easy to read and write. It is later translated into HTML by one of the numerous `markdown` implementations. ]]>

Here is the result, embedded in a box: