Posts

Showing posts with the label markdown

Standardizing (a flavor of) Markdown

Update 2014-09-05: Jeff Atwood renames “Standard Markdown” to “Common Markdown” and apologizes to John Gruber. Details: “ Standard Markdown is now Common Markdown ”. On September 3, Jeff Atwood announced a new standardization effort for John Gruber’s Markdown : Standard Markdown . It is amazing how ubiquitous Markdown has become and it’s great that there is now a standard for it. Highlights: The working group comprises representatives from: GitHub, Reddit, Stack Exchange, the open source community. There is a proper specification that also describes a parsing strategy. This should help tremendously with writing a parser that can handle all content that complies with the standard. Given all the incompatible Markdown dialects in existence, that is currently a very difficult task. There are reference implementations in JavaScript and C and a validation test suite. You can try out the reference implementation online. Background: The whole effort more or less started with a blog post b...

The future of Markdown

The basic idea of Markdown is simple: To create a document, one writes plain text (bullet lists are lines that start with dashes, styles are written **bold** and *italics*, etc.). To display a document, the plain text is converted to HTML. That gives you the best of both worlds: the plain text is to write (much easier than HTML), store and transfer; the rendered HTML is nice to look at. It is amazing how popular Markdown has become: GitHub supports it for files such as readmes and gists; Stack Overflow uses it for comments; Lean Publishing supports no other format for submitting books; many blog engines let you write posts in it; etc. However, Markdown is poorly specified and there are many slightly incompatible dialects. The blog post “ The Future of Markdown ” (by Jeff Atwood for Coding Horror) mentions a proposal by David Greenspan: I think you and I share some concern (horror?) about Markdown's lack of spec and tests. The code is ugly to boot. Extending or customizing Mark...