多少人被那个坑人的两个空格换行坑过的啊!!...
早上看到文章,the Future of Markdown 作者是 Jeff Atwood ... StackOverflow 创始人的似乎...
文章说 Markdown 流行前 40 年后 20 年 (好久了...), 已经非常棒了
但是分裂得多么多么...严重,应该做一些标准化的工作
重点比如:
- A standardization of the existing core Markdown conventions, as documented by John Gruber, in a formal language specification.
- Make the three most common real world usage "gotchas" in Markdown choices with saner defaults: intra-word emphasis (off), auto-hyperlinking (on), automatic return-based linebreaks (on).
- A formal set of tests anyone can use to validate a Markdown implementation.
Some cleanup and tweaks for ambiguous edge cases that exist in Markdown due to the lack of a formal specification.
- A registry of known flavor variants, with some possible future lobbying to potentially add only the most widely and strongly supported variants (I am thinking of the GitHub style code blocks which are quite nice) to future versions of Markdown.
然后提议创建标准:
I propose that Stack Exchange, GitHub, Meteor, Reddit, and any other company with lots of traffic and a strategic investment in Markdown, all work together to come up with an official Markdown specification, and standard test suites to validate Markdown implementations.
然后在 HN 上直接被顶到榜首了... 太长... 再看吧... http://news.ycombinator.com/item?id=4700160
Github 上 marked 的 issue 里边跟着水贴等改进吧...
https://github.com/chjj/marked/issues/51
https://github.com/chjj/marked/issues/90