Published
by
in Markdown, Marked2, Emacs, Viat https://preview.rmoff.net/2017/09/12/what-is-markdown-and-why-is-it-awesome/
Markdown is a plain-text formatting syntax. It enables you write documents in plain text, readable by others in plain text, and optionally rendered into nicely formatted PDF, HTML, DOCX etc.
It’s used widely in software documentation, particularly open-source, because it enables richer formatting than plain-text alone, but without constraining authors or readers to a given software platform.
Platforms such as github natively support Markdown rendering - so you write your README etc in markdown, and when viewed on github it is automagically rendered - without you needing to actually do anything.
I’ve used Markdown for years now, after being introduced to it at my previous company. When I worked as a consultant I would be delivering client reports, and I wrote all of them in Markdown. The final delivered copy was in DOCX or maybe HTML - but the master copy remained as Markdown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
One of the cool things about Markdown is that it is widely supported. For example, if you’re using github (or gist), any file with a .md extension automagically gets rendered as Markdown, thus:
Markdown is normal text, with characters like asterisks around phrases for bold and underscores for emphasis.
Markdown is plain text. ANY plain text editor can be used to write Markdown. That’s why it’s so awesome - it is completely portable. TextWrangler, FoldingText, TextEdit, Notepad, Notepad++, Ultraedit… take your pick
The best of these by a mile on the Mac is Marked2. It gives you a nice rendering of any markdown document that you’re working on. Used with the El Capitan split-screen it’s pretty-near perfect way to write Markdown.
Editorial is a good iOS Markdown editor & previewer
Mou does quite a good job of an all-in-one Markdown editor & previewer for the Mac. Personally, I prefer running two separate tools that excel at editing and previewing respectively, instead of one single one trying to do both. YMMV.
pandoc can generate a huge range of output formats from markdown input.
Markdown geek-out
Rmd is a combination of R and Markdown. Pretty cool for writing reports with embedded R output.
When you get into the outer-reaches of Markdown, you’ll find that there are different “flavours”. There’s the original markdown, there’s github markdown, there’s Common Markdown. This only really matters when it comes to trying to do some funky formatting, and if the previewer/renderer that you’re using supports a different flavour. Some, like Marked2, will let you choose which to use.
Robin Moffatt is a Principal DevEx Engineer at Decodable. He likes writing about himself in the third person, eating good breakfasts, and drinking good beer.