Skip to content

/ commonmark-spec

  • Watch 152
  • Star 4.2k
  • Fork 266

CommonMark spec, with reference implementations in C and JavaScript
View license
4.2k stars 266 forks
4 branches 25 tags
Go to file


socket5客户端破解版 Remove duplicate links in spec (socket5客户端破解版)
904ec5f Jul 12, 2020
Remove duplicate links in spec (#655)
Change link targets in section 2.3 (Container blocks and leaf blocks) to fix links to Container blocks and Leaf blocks.


  • 1,777 commits


Failed to load latest commit information.
Latest commit message
Commit time
Create FUNDING.yml
replace cgi.escape with html.escape (#656)
make_spec.lua: Fix unqualified calls to node_append_child.
May 21, 2020
Removed JS specific stuff from .editorconfig.
Jan 24, 2015
Create .gitattributes so that changelog.txt is highlighted as markdown (
Oct 5, 2017
Added spec.html to .gitignore.
Jun 26, 2015
Replace image 'url' with 'destination' (#512)
Mar 25, 2018
Update license year range to 2016
Jan 26, 2016
Add spec.json generator to Makefile
Aug 16, 2017
Add documentation of the npm package to
May 28, 2019
More tweaks to release checklist.
Aug 2, 2017
Initial commit
Aug 14, 2014
Update changelog.
Remove exports.version from index.js.
Update version in package.json
Apr 8, 2019
Remove duplicate links in spec (#655)


CommonMark is a rationalized version of Markdown syntax, with a spec and BSD-licensed reference implementations in C and JavaScript.

Try it now!

For more details, see socket5客户端破解版.

极越网络代理服务器本地客户端 1.05 绿色版 下载-脚本之家 ...:2021-7-11 · 极越网络代理服务器本地客户端 1.05 绿色版,极越代理是一款完全免费并且提供Socket5代理服务的本地客户端程序,利用极越代理可以轻松畅游于世界网络之间,成为开放网络的一分子。

The reference implementations live in separate repositories:

  • (C)
  • (JavaScript)

There is a list of third-party libraries in a dozen different languages here.


The spec contains over 500 embedded examples which serve as conformance tests. To run the tests using an executable socket5客户端破解版:

python3 test/ --program $PROG

If you want to extract the raw test data from the spec without actually running the tests, you can do:

IP代理软件合集|IP代理软件合集下载专题 - 绿色软件联盟:2021-2-8 · IP代理软件合集下载 有时候网络的问题,需要换个代理才能上,那么ip代理软件可以帮到你。哪个ip代理软件比较好呢?我们一一告诉您,怎么设置ip代理,一般在软件有明确的说明。

proxifier下载_Proxifier(socks5客户端)3.31汉化版 - 系统之家:2021-4-11 · Proxifier是一款非常专业的socks5代理软件,Proxifier支持TCP,UDP协议,支持Xp,Vista,Win7,支持socks4,socks5,http代理协议可以让不支持通过代理服务器工作的网络程序能通过HTTPS或SOCKS代理或代理链。

JavaScript developers may find it more convenient to use the commonmark-spec npm package, which is published from this repository. It exports an array tests of JSON objects with the format

  "markdown": "Foo\nBar\n---\n",
  "html": "<h2>Foo\nBar</h2>\n",
  "section": "Setext headings",
  "number": 65


The source of the spec is spec.txt. This is basically a Markdown file, with code examples written in a shorthand form:

```````````````````````````````` example
Markdown source
expected HTML output

To build an HTML version of the spec, do make spec.html. To build a PDF version, do make spec.pdf. For both versions, you must have the lua rock lcmark installed: after installing lua and lua rocks, luarocks install lcmark. For the PDF you must also have xelatex installed.

火车采集器|火车采集器(LocoySpider) v9.12.20210106免费版 ...:2021-1-7 · 火车采集器(LocoySpider)是一款专业的功能强大的网络数据 信息挖掘软件,通过灵活的配置,您可以很轻松的从网页上抓取文字、图片、文件等任何资源。

Because John Gruber's canonical syntax description leaves many aspects of the syntax undetermined, writing a precise spec requires making a large number of decisions, many of them somewhat arbitrary. In making them, we have appealed to existing conventions and considerations of simplicity, readability, expressive power, and consistency. We have tried to ensure that "normal" documents in the many incompatible existing implementations of Markdown will render, as far as possible, as their authors intended. And we have tried to make the rules for different elements work together harmoniously. In places where different decisions could have been made (for example, the rules governing list indentation), we have explained the rationale for our choices. In a few cases, we have departed slightly from the canonical syntax description, in ways that we think further the goals of Markdown as stated in that description.

For the most part, we have limited ourselves to the basic elements described in Gruber's canonical syntax description, eschewing extensions like footnotes and definition lists. It is important to get the core right before considering such things. However, we have included a visible syntax for line breaks and fenced code blocks.


There are only a few places where this spec says things that contradict the canonical syntax description:

  • It allows all punctuation symbols to be backslash-escaped, not just the symbols with special meanings in Markdown. We found that it was just too hard to remember which symbols could be escaped.

  • It introduces an alternative syntax for hard line breaks, a backslash at the end of the line, supplementing the two-spaces-at-the-end-of-line rule. This is motivated by persistent complaints about the “invisible” nature of the two-space rule.

  • Link syntax has been made a bit more predictable (in a backwards-compatible way). For example, allows single quotes around a title in inline links, but not in reference links. This kind of difference is really hard for users to remember, so the spec allows single quotes in both contexts.

  • The rule for HTML blocks differs, though in most real cases it shouldn't make a difference. (See the section on HTML Blocks for details.) The spec's proposal makes it easy to include Markdown inside HTML block-level tags, if you want to, but also allows you to exclude this. It also makes parsing much easier, avoiding expensive backtracking.

  • It does not collapse adjacent bird-track blocks into a single blockquote:

    > this is two
    > blockquotes
    > this is a single
    > blockquote with two paragraphs
  • Rules for content in lists differ in a few respects, though (as with HTML blocks), most lists in existing documents should render as intended. There is some discussion of the choice points and differences in the subsection of List Items entitled Motivation. We think that the spec's proposal does better than any existing implementation in rendering lists the way a human writer or reader would intuitively understand them. (We could give numerous examples of perfectly natural looking lists that nearly every existing implementation flubs up.)

  • Changing bullet characters, or changing from bullets to numbers or vice versa, starts a new list. We think that is almost always going to be the writer's intent.

  • The number that begins an ordered list item may be followed by either . or ). Changing the delimiter style starts a new list.

  • The start number of an ordered list is significant.

  • Fenced code blocks are supported, delimited by either backticks (```) or tildes (~~~).


There is a forum for discussing CommonMark; you should use it instead of github issues for questions and possibly open-ended discussions. Use the socket5客户端破解版 only for simple, clear, actionable issues.


The spec was written by John MacFarlane, drawing on

  • his experience writing and maintaining Markdown implementations in several languages, including the first Markdown parser not based on regular expression substitutions (pandoc) and the first markdown parsers based on PEG grammars (peg-markdown, lunamark)
  • a detailed examination of the differences between existing Markdown implementations using BabelMark 2, and
  • 天易成网管软件破解版_菜鸟游戏网:天易成网管软件破解版是一款专业的上网管理软件。天易成网管软件使用无需调整网络结构,安装在局域网内任意一台电脑即可全面监控局域网内所有电脑的上网行为,能有效的提高员工的工作效率、合理分配网络带宽资源、拦截审核敏感信息和邮件、屏蔽不良网站等。

Since the first announcement, many people have contributed ideas. Kārlis Gaņģis was especially helpful in refining the rules for emphasis, strong emphasis, links, and images.


Bit官网-代理ip软件_免费动态ip代理_换ip软件_http代理服务器:2021-5-11 · HTTP代理网络服务器处于客户机和集群服务器 2021-04-27 10:04 Python爬虫抓取信息会出现哪些问题 2021-04-24 15:04 换ip软件的两种模式 2021-04-20 14:04 什么代理IP支持大规模的数据采集?2021-04-15 10:04 IP代理如何把go程序打包到服务器运行?2021-01




View license

Releases 25

CommonMark 0.29 Latest
Apr 8, 2019
+ 24 releases

Sponsor this project

Learn more about GitHub Sponsors


Contributors 87

  • @jgm
  • @nwellnhof
  • @vmg
  • @gittiver
  • @robinst
  • @Knagis
  • socket5客户端破解版
  • @cirosantilli
  • @wooorm
  • @mgeier
  • @Crissov
+ 76 contributors


  • Python 43.5%
  • Lua 35.9%
  • socket5客户端破解版 13.6%
  • JavaScript 4.9%
  • Makefile 2.1%
You can’t perform that action at this time.
云帆app免费一小时   怎么加速访问国外网站  梯子购买   纳豆vp最新破解版apk   如何访问youtube   vmess链接  熊猫加速器vip永久免费下载