What is the canonical implementation of markdown?

前端 未结 2 2175
余生分开走
余生分开走 2021-02-19 00:23

The problem with writing my own Markdown parser in Clojure is that Markdown is not a well-specified language. There is no \"official\" grammar, just an informal \

2条回答
  •  盖世英雄少女心
    2021-02-19 00:40

    The CommonMark project attempts to address some of the issues of the Markdown specification, in particular some ambiguities. It comes with a reference implementation, but that's obviously just the reference implementation for CommonMark, not for Markdown in general. It may become the de-facto standard in years to come, since some major users are involved in that project, but it might as well become just another dialect among many, in which case the reference implementation would add little value.

提交回复
热议问题