Skip to content
Hannah Wolfe edited this page Oct 12, 2013 · 10 revisions

[work in progress]...obviously

Haunted Markdown is based on John Gruber's original Markdown project, and borrows from Github Flavored Markdown and MultiMarkdown. It has a focus on producing consistent results whilst editing, so that the experience of live previewing is smooth.

Features

Haunted Markdown should support the following features:

  • Markdown escaping of & and <
  • Markdown paragraphs and line breaks
  • Setext & atx style headings i.e. headings prefixed with # or underlined with _ or =
  • GFM style line breaking
  • Blockquote with >, indented blockquotes
  • Horizontal rules with * * *, ***, *****, - - -, ----------------------
  • Emphasis with * & _, and strong with ** & __ but which allows spaces at the end of the string between the markdown characters so that the style of the output doesn't change whilst typing.
  • GFM style handling of underscores inside words
  • Strike through with ~~
  • Bulleted lists with * or -, numbered lists
  • Advanced list indenting (needs much consideration)
  • Reference and inline links, with titles [alt](http://ghost.org "optional title") or [ref]: http://ghost.org "optional title"
  • Reference and inline images, with titles/captions
  • Reference and inline video, with titles/captions (we don't know what this is gonna look like yet)
  • Both Markdown and GFM style autolinking
  • Indented, fenced and inline code blocks
  • Full HTML support

Specification