Markdown is a text-to-HTML conversion tool for writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to valid HTML.
Before you start
note: If you need a reference for the keyboard symbols used below, see Apple Keyboard Symbols
hit ⌘ space and type ‘Terminal’, followed by ↩︎
at the prompt type
paste or type the text below at the prompt, then ↩︎ followed by ⌃-D:
It’s that simple. Pandoc will read the text input, convert your markdown to HTML (and much more). The following is the output produced from the markdown example above:
Markdown and pandoc can do a lot more than just take text from stdin and turn it into HTML. To learn more about using Markdown, I recommend reading GitHub’s Mastering Markdown and Pandoc’s User Manual.