问题描述
这是赢得Google排名测试的实现,此处
This is an implementation that wins the google ranking test here
然后有 peg-markdown 似乎可以解决语法问题-但这不是规范的实现.
Then there is peg-markdown which appears to solve the 'there is no grammar' problem - but is not the canonical implementation.
我的问题是-markdown的规范实现是什么? (大家说的定义标准).
My question is - what is the canonical implementation of markdown? (The one that everybody says defines the standard).
我承认没有规范的标准".我正在寻找下一个最好的东西.
I acknowledge that "there is no canonical standard". I'm looking for the next best thing.
答案似乎是 showdown.js ,但存在问题.
The answer seems to be showdown.js, but there are problems with it.
(使用规范的定义是每个人都定义的标准).
(using the definition of canonical being the one that everybody says defines the standard).
It gets referenced here and on github here.
我也将加入 pagedown (由@deceze),因为它似乎可以解决摊牌中的错误,并且更接近Gruber的原始版本.
I'll throw in pagedown as well (as aluded to by @deceze) because it appears to fix the bugs in showdown and be a little closer to Gruber's original.
推荐答案
我相信Gruber的语言是原始的且经过一定程度的规范化(例如,参见他的"Markdown介绍" ),然后人们从那里扩展了它.我认为某些扩展比其他扩展更普遍,因此可能值得一看一些使用良好的软件包比他的原始软件包有什么优势.
I believe Gruber's is the original and sort-of-canonical (see, for example, his 'Introducing Markdown'), and then people have extended it from there. I think some extensions are more common than others though, so it's probably worth seeing what a few well-used packages have over his original.
这篇关于降价的规范实施是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!