fix #1063 -- get Markdown to output <pre>

Outputs code in a reST-like style.

Also fixes Markdown extension support.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>