{"_id":"commonmark","_rev":"382242","name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","dist-tags":{"latest":"0.30.0"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"time":{"modified":"2021-08-04T02:23:40.000Z","created":"2014-11-05T05:10:07.635Z","0.30.0":"2021-06-20T17:00:59.252Z","0.29.3":"2020-12-05T05:54:45.447Z","0.29.2":"2020-09-10T15:53:10.370Z","0.29.1":"2020-01-09T16:59:23.700Z","0.29.0":"2019-04-08T17:13:03.667Z","0.28.1":"2017-08-02T15:42:42.642Z","0.28.0":"2017-08-02T15:16:42.460Z","0.27.0":"2016-11-18T20:58:07.947Z","0.26.0":"2016-07-15T19:04:47.775Z","0.25.1":"2016-04-15T04:01:01.497Z","0.25.0":"2016-03-25T06:22:25.705Z","0.24.0":"2016-01-13T06:08:01.444Z","0.23.0":"2015-12-29T07:17:57.948Z","0.22.1":"2015-11-18T06:56:38.917Z","0.22.0":"2015-08-24T05:10:43.985Z","0.21.0":"2015-07-15T00:05:15.580Z","0.20.0":"2015-06-08T20:04:39.818Z","0.19.0":"2015-04-29T04:15:00.341Z","0.18.2":"2015-04-22T05:01:32.862Z","0.18.1":"2015-03-04T06:39:24.505Z","0.17.1":"2015-01-29T19:29:12.236Z","0.17.0":"2015-01-25T06:48:05.962Z","0.16.0":"2015-01-15T15:31:06.851Z","0.15.0":"2015-01-01T00:43:09.900Z","0.12.0":"2014-11-12T04:18:25.499Z","0.9.0":"2014-11-05T05:10:07.635Z"},"users":{"iamstarkov":true,"jannes":true,"bret":true,"denji":true,"pvorb":true,"pandao":true,"alanmcbee":true,"garrickajo":true,"danielbankhead":true,"danielbayley":true,"yukoff":true,"seanlindsay101":true},"author":{"name":"John MacFarlane"},"repository":{"type":"git","url":"git+https://github.com/commonmark/commonmark.js.git"},"versions":{"0.30.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.30.0","homepage":"https://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/commonmark/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/commonmark/commonmark.js/issues"},"license":"BSD-2-Clause","type":"commonjs","main":"./dist/commonmark.js","module":"./lib/index.js","exports":{".":{"require":"./dist/commonmark.js","default":"./lib/index.js"}},"bin":{"commonmark":"bin/commonmark"},"scripts":{"build":"rollup -c","lint":"eslint .","test":"node ./test/test","prepublish":"npm run build","pretest":"npm run build"},"dependencies":{"entities":"~2.0","mdurl":"~1.0.1","minimist":">=1.2.2","string.prototype.repeat":"^0.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"devDependencies":{"@rollup/plugin-commonjs":"^11.0.1","@rollup/plugin-json":"^4.0.1","@rollup/plugin-node-resolve":"^7.0.0","acorn":">=5.7.4","benchmark":"^2.1.4","bower":"^1.8.8","cached-path-relative":"^1.0.2","eslint":"^7.4.0","http-server":"^0.12.3","lodash":"^4.17.21","markdown-it":"^12.0","marked":"^2.1","mem":">=4.0.0","rollup":"^1.29.0","rollup-plugin-uglify":"^6.0.4","showdown":"^1.9.1","uglify-js":"^3.4.0","serialize-javascript":">=3.1.0"},"gitHead":"961387c4c8145a0033833e7bd21dfef3c675e2cb","_id":"commonmark@0.30.0","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"shasum":"38811dc7bbf0f59d277ae09054d4d73a332f2e45","size":119385,"noattachment":false,"key":"/commonmark/-/commonmark-0.30.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.30.0.tgz"},"_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commonmark_0.30.0_1624208459120_0.5107902129857433"},"_hasShrinkwrap":false,"publish_time":1624208459252,"_cnpm_publish_time":1624208459252},"0.29.3":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.29.3","homepage":"https://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/commonmark/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/commonmark/commonmark.js/issues"},"license":"BSD-2-Clause","type":"commonjs","main":"./dist/commonmark.js","module":"./lib/index.js","exports":{".":{"require":"./dist/commonmark.js","default":"./lib/index.js"}},"bin":{"commonmark":"bin/commonmark"},"scripts":{"build":"rollup -c","lint":"eslint .","test":"node ./test/test"},"dependencies":{"entities":"~2.0","mdurl":"~1.0.1","minimist":">=1.2.2","string.prototype.repeat":"^0.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"devDependencies":{"@rollup/plugin-commonjs":"^11.0.1","@rollup/plugin-json":"^4.0.1","@rollup/plugin-node-resolve":"^7.0.0","acorn":">=5.7.4","benchmark":"^2.1.4","bower":"^1.8.8","cached-path-relative":"^1.0.2","eslint":"^7.4.0","http-server":"^0.12.3","lodash":"^4.17.19","markdown-it":"^10.0","marked":"^0.8.0","mem":">=4.0.0","rollup":"^1.29.0","rollup-plugin-uglify":"^6.0.4","showdown":"^1.9.1","uglify-js":"^3.4.0","serialize-javascript":">=3.1.0"},"gitHead":"54290b007e7ad2553ef41e5f93073237cc24740c","_id":"commonmark@0.29.3","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"bb1d5733bfe3ea213b412f33f16439cc12999c2c","size":130572,"noattachment":false,"key":"/commonmark/-/commonmark-0.29.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.29.3.tgz"},"_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commonmark_0.29.3_1607147685296_0.47212921446625744"},"_hasShrinkwrap":false,"publish_time":1607147685447,"_cnpm_publish_time":1607147685447},"0.29.2":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.29.2","homepage":"https://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/commonmark/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/commonmark/commonmark.js/issues"},"license":"BSD-2-Clause","type":"commonjs","main":"./dist/commonmark.js","module":"./lib/index.js","exports":{".":{"require":"./dist/commonmark.js","default":"./lib/index.js"}},"bin":{"commonmark":"bin/commonmark"},"scripts":{"build":"rollup -c","lint":"eslint .","test":"node -r esm ./test/test"},"dependencies":{"entities":"~2.0","mdurl":"~1.0.1","string.prototype.repeat":"^0.2.0","minimist":">=1.2.2"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"devDependencies":{"@rollup/plugin-commonjs":"^11.0.1","@rollup/plugin-json":"^4.0.1","@rollup/plugin-node-resolve":"^7.0.0","acorn":">=5.7.4","benchmark":"^2.1.4","bower":"^1.8.8","cached-path-relative":"^1.0.2","eslint":"^7.4.0","esm":"^3.2.25","http-server":"^0.12.3","lodash":"^4.17.19","markdown-it":"^10.0","marked":"^0.8.0","mem":">=4.0.0","rollup":"^1.29.0","rollup-plugin-uglify":"^6.0.4","showdown":"^1.9.1","uglify-js":"^3.4.0","serialize-javascript":">=3.1.0"},"gitHead":"21fb17085f7711a726559232329bacd03da7c621","_id":"commonmark@0.29.2","_nodeVersion":"14.8.0","_npmVersion":"6.14.7","dist":{"shasum":"e7bd5582400f2a45421f2f64eca19fc89cbd4e1b","size":129792,"noattachment":false,"key":"/commonmark/-/commonmark-0.29.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.29.2.tgz"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commonmark_0.29.2_1599753190134_0.9323862987630986"},"_hasShrinkwrap":false,"publish_time":1599753190370,"_cnpm_publish_time":1599753190370},"0.29.1":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.29.1","homepage":"https://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~1.1.1","mdurl":"~1.0.1","string.prototype.repeat":"^0.2.0","minimist":"~1.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"devDependencies":{"benchmark":"^2.1.4","bower":"^1.8.8","browserify":"^16.2.2","cached-path-relative":"^1.0.2","eslint":"^4.19.1","http-server":"^0.11.1","lodash":"^4.17.13","markdown-it":"^8.4.1","marked":"^0.7.0","mem":">=4.0.0","showdown":"^1.9.1","uglify-js":"^3.4.0"},"gitHead":"2feaec3951d25388c7c59b112330af14dbb4d9e4","_id":"commonmark@0.29.1","_nodeVersion":"10.2.0","_npmVersion":"6.13.4","dist":{"shasum":"fdbf5970ca23600f4a27487e30eed43b66b83ef5","size":129663,"noattachment":false,"key":"/commonmark/-/commonmark-0.29.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.29.1.tgz"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commonmark_0.29.1_1578589163542_0.09949663998358105"},"_hasShrinkwrap":false,"publish_time":1578589163700,"_cnpm_publish_time":1578589163700},"0.29.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.29.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0","minimist":"~ 1.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"devDependencies":{"benchmark":"^2.1.4","bower":"^1.8.8","browserify":"^16.2.2","eslint":"^4.19.1","http-server":"^0.11.1","markdown-it":"^8.4.1","marked":"^0.4.0","showdown":"^1.8.6","uglify-js":"^3.4.0","cached-path-relative":"^1.0.2","lodash":"^4.17.11"},"gitHead":"05086eefc69033717ca10cf012fa44ce728d4e04","_id":"commonmark@0.29.0","_nodeVersion":"10.2.0","_npmVersion":"6.9.0","dist":{"shasum":"0f4b1d7bf9ae07b3b3a2d428ffd1d997b2ec7a7e","size":129896,"noattachment":false,"key":"/commonmark/-/commonmark-0.29.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.29.0.tgz"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commonmark_0.29.0_1554743583522_0.39471444990341475"},"_hasShrinkwrap":false,"publish_time":1554743583667,"_cnpm_publish_time":1554743583667},"0.28.1":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.28.1","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0","minimist":"~ 1.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"fe6ce5a3d266ae3e320bb2329967f6368c690335","_id":"commonmark@0.28.1","_shasum":"06eab8d52338b839fa1a2d75af0085eed1b1beae","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"dist":{"shasum":"06eab8d52338b839fa1a2d75af0085eed1b1beae","size":128703,"noattachment":false,"key":"/commonmark/-/commonmark-0.28.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.28.1.tgz"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commonmark-0.28.1.tgz_1501688562279_0.4028844570275396"},"publish_time":1501688562642,"_cnpm_publish_time":1501688562642,"_hasShrinkwrap":false},"0.28.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.28.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0","minimist":"~ 1.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"76de355590604d0375305c4b9ac790f169f98691","_id":"commonmark@0.28.0","_shasum":"4b180a523ba16119ddc019f9e3791a12a043cb2f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"dist":{"shasum":"4b180a523ba16119ddc019f9e3791a12a043cb2f","size":128854,"noattachment":false,"key":"/commonmark/-/commonmark-0.28.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.28.0.tgz"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/commonmark-0.28.0.tgz_1501687002149_0.8197175620589405"},"publish_time":1501687002460,"_cnpm_publish_time":1501687002460,"_hasShrinkwrap":false},"0.27.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.27.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0","minimist":"~ 1.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"275911efe5086d8b6a05c24f52a0820f781303f8","_id":"commonmark@0.27.0","_shasum":"d86c262b962821e9483c69c547bc58840c047b34","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"dist":{"shasum":"d86c262b962821e9483c69c547bc58840c047b34","size":130301,"noattachment":false,"key":"/commonmark/-/commonmark-0.27.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.27.0.tgz"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/commonmark-0.27.0.tgz_1479502687276_0.6159353363327682"},"publish_time":1479502687947,"_cnpm_publish_time":1479502687947,"_hasShrinkwrap":false},"0.26.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.26.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0","minimist":"~ 1.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"2a569ad9b4bb839e88bae03b4c1e5de176bcf357","_id":"commonmark@0.26.0","_shasum":"216e8f2f2bc7306c002a73aaa4edb64609e26457","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"216e8f2f2bc7306c002a73aaa4edb64609e26457","size":127538,"noattachment":false,"key":"/commonmark/-/commonmark-0.26.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.26.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/commonmark-0.26.0.tgz_1468609485375_0.9053611685521901"},"publish_time":1468609487775,"_cnpm_publish_time":1468609487775,"_hasShrinkwrap":false},"0.25.1":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.25.1","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0","minimist":"~ 1.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"a6aadbebf047414530d7da0a64318e40a2a8a67b","_id":"commonmark@0.25.1","_shasum":"d5b40ee251679234aed526b2738f34fbdda5a82b","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"d5b40ee251679234aed526b2738f34fbdda5a82b","size":126910,"noattachment":false,"key":"/commonmark/-/commonmark-0.25.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.25.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/commonmark-0.25.1.tgz_1460692857997_0.3583801307249814"},"publish_time":1460692861497,"_cnpm_publish_time":1460692861497,"_hasShrinkwrap":false},"0.25.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.25.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0","minimist":"~ 1.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"fc798964c0a883b00f708f7f64f227b7198cfde5","_id":"commonmark@0.25.0","_shasum":"ef65e14a87e26305c5691c3bf48a05181d7229f2","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"ef65e14a87e26305c5691c3bf48a05181d7229f2","size":126483,"noattachment":false,"key":"/commonmark/-/commonmark-0.25.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.25.0.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/commonmark-0.25.0.tgz_1458886945256_0.5775644311215729"},"publish_time":1458886945705,"_cnpm_publish_time":1458886945705,"_hasShrinkwrap":false},"0.24.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.24.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"f9090bb18d6ca454378af3896c8d77ddb09301ff","_id":"commonmark@0.24.0","_shasum":"b80de0182c546355643aa15db12bfb282368278f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"b80de0182c546355643aa15db12bfb282368278f","size":123050,"noattachment":false,"key":"/commonmark/-/commonmark-0.24.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.24.0.tgz"},"publish_time":1452665281444,"_cnpm_publish_time":1452665281444,"_hasShrinkwrap":false},"0.23.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.23.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"git+https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"33a946202a7c1112a4dc6cbd0547bf875bdc286d","_id":"commonmark@0.23.0","_shasum":"3ecd6a942dd7370f0ba7f72534276028f9df6fd0","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"3ecd6a942dd7370f0ba7f72534276028f9df6fd0","size":125066,"noattachment":false,"key":"/commonmark/-/commonmark-0.23.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.23.0.tgz"},"publish_time":1451373477948,"_cnpm_publish_time":1451373477948,"_hasShrinkwrap":false},"0.22.1":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.22.1","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.1","string.prototype.repeat":"^0.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"b7bf33eaa82deb10e26380df9e95b2c72d4a77e9","_id":"commonmark@0.22.1","_shasum":"2595e2175f86f9053de4e7be5b14b68bc775b6b1","_from":".","_npmVersion":"2.7.3","_nodeVersion":"0.12.1","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"2595e2175f86f9053de4e7be5b14b68bc775b6b1","size":123738,"noattachment":false,"key":"/commonmark/-/commonmark-0.22.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.22.1.tgz"},"publish_time":1447829798917,"_cnpm_publish_time":1447829798917,"_hasShrinkwrap":false},"0.22.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.22.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.0","string.prototype.repeat":"^0.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"836b85d3e55c291c75eee543fe28c84ff2e70c97","_id":"commonmark@0.22.0","_shasum":"c7358a11edd6b0b559bb5a911dcb34ab5cd194e8","_from":".","_npmVersion":"2.7.3","_nodeVersion":"0.12.1","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"c7358a11edd6b0b559bb5a911dcb34ab5cd194e8","size":1404761,"noattachment":false,"key":"/commonmark/-/commonmark-0.22.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.22.0.tgz"},"publish_time":1440393043985,"_cnpm_publish_time":1440393043985,"_hasShrinkwrap":false},"0.21.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.21.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"dependencies":{"entities":"~ 1.1.1","mdurl":"~ 1.0.0","string.prototype.repeat":"^0.2.0"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"74d3ae0e2fff5ef8ff657e76514282f28aae21bc","_id":"commonmark@0.21.0","_shasum":"ad646b335cd5f5f9892b6980129ed996326f0f6d","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"ad646b335cd5f5f9892b6980129ed996326f0f6d","size":1288798,"noattachment":false,"key":"/commonmark/-/commonmark-0.21.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.21.0.tgz"},"publish_time":1436918715580,"_cnpm_publish_time":1436918715580,"_hasShrinkwrap":false},"0.20.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.20.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"7972d42a6474843e36a6aa67b3d357d98a70e0ff","_id":"commonmark@0.20.0","_shasum":"d79bc9161bad1cc660f73798b598f5d4e7aaf5b6","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"d79bc9161bad1cc660f73798b598f5d4e7aaf5b6","size":1398133,"noattachment":false,"key":"/commonmark/-/commonmark-0.20.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.20.0.tgz"},"publish_time":1433793879818,"_cnpm_publish_time":1433793879818,"_hasShrinkwrap":false},"0.19.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.19.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"2a880d99da5edbbfd2f51717c96dda4e9d7fc26e","_id":"commonmark@0.19.0","_shasum":"5e9c7900365314b89adcde71f24189be10402a18","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"5e9c7900365314b89adcde71f24189be10402a18","size":1431672,"noattachment":false,"key":"/commonmark/-/commonmark-0.19.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.19.0.tgz"},"publish_time":1430280900341,"_cnpm_publish_time":1430280900341,"_hasShrinkwrap":false},"0.18.2":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.18.2","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"b3cf3779c9c283a70288533c8df410625a7c348e","_id":"commonmark@0.18.2","_shasum":"ac82f187a28c4cb6254370c8ba891b0096fd0434","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"ac82f187a28c4cb6254370c8ba891b0096fd0434","size":1436567,"noattachment":false,"key":"/commonmark/-/commonmark-0.18.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.18.2.tgz"},"publish_time":1429678892862,"_cnpm_publish_time":1429678892862,"_hasShrinkwrap":false},"0.18.1":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.18.1","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js ./test/spec.txt"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"9cc03545c2bdf57e1f23958b71e18789fb954d42","_id":"commonmark@0.18.1","_shasum":"5f6789a93b59f7d95160b618700d105d274245d6","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"5f6789a93b59f7d95160b618700d105d274245d6","size":5436540,"noattachment":false,"key":"/commonmark/-/commonmark-0.18.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.18.1.tgz"},"publish_time":1425451164505,"_cnpm_publish_time":1425451164505,"_hasShrinkwrap":false},"0.17.1":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.17.1","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-2-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js ./test/spec.txt"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"gitHead":"d89adcd2ba20845b6e5e9f0f8814ce6c43dbd3c8","_id":"commonmark@0.17.1","_shasum":"faa3ffdce05fc35884feafa0aa0efe1be31234b1","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"dist":{"shasum":"faa3ffdce05fc35884feafa0aa0efe1be31234b1","size":132451,"noattachment":false,"key":"/commonmark/-/commonmark-0.17.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.17.1.tgz"},"publish_time":1422559752236,"_cnpm_publish_time":1422559752236,"_hasShrinkwrap":false},"0.17.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.17.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/commonmark.js.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/commonmark.js/issues"},"license":"BSD-3-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test/test.js ./test/spec.txt"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"_id":"commonmark@0.17.0","dist":{"shasum":"af26d37fdd31411cbc500bfe7a42981df9745fda","size":129162,"noattachment":false,"key":"/commonmark/-/commonmark-0.17.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.17.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"publish_time":1422168485962,"_cnpm_publish_time":1422168485962,"_hasShrinkwrap":false},"0.16.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.16.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/CommonMark.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/CommonMark/issues"},"license":"BSD-3-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test.js"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"_id":"commonmark@0.16.0","dist":{"shasum":"7657efec15e832f61859be6400d31c5738136fe1","size":35512,"noattachment":false,"key":"/commonmark/-/commonmark-0.16.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.16.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"publish_time":1421335866851,"_cnpm_publish_time":1421335866851,"_hasShrinkwrap":false},"0.15.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.15.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/CommonMark.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/CommonMark/issues"},"license":"BSD-3-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test.js"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"_id":"commonmark@0.15.0","dist":{"shasum":"a7e7d4a884e6d9f2d0d9fe118ea66ea388178974","size":33218,"noattachment":false,"key":"/commonmark/-/commonmark-0.15.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.15.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"publish_time":1420072989900,"_cnpm_publish_time":1420072989900,"_hasShrinkwrap":false},"0.12.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","version":"0.12.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/CommonMark.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/CommonMark/issues"},"license":"BSD-3-Clause","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test.js"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"_id":"commonmark@0.12.0","dist":{"shasum":"012d3aa21e986efa4bc55a381c5c62bf72a79e29","size":35554,"noattachment":false,"key":"/commonmark/-/commonmark-0.12.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.12.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"publish_time":1415765905499,"_cnpm_publish_time":1415765905499,"_hasShrinkwrap":false},"0.9.0":{"name":"commonmark","description":"a strongly specified, highly compatible variant of Markdown","dist-tags":{"latest":"0.9.0"},"versions":"0.9.0","homepage":"http://commonmark.org","keywords":["markdown","commonmark","md","stmd"],"repository":{"type":"git","url":"https://github.com/jgm/CommonMark.git"},"author":{"name":"John MacFarlane"},"bugs":{"url":"https://github.com/jgm/CommonMark/issues"},"license":"BSD-3-Clause","version":"0.9.0","main":"./lib/index.js","bin":{"commonmark":"./bin/commonmark"},"scripts":{"test":"node ./test.js"},"directories":{"lib":"./lib"},"engines":{"node":"*"},"_id":"commonmark@0.9.0","dist":{"shasum":"41d445be688c07ae5afd31b4cdc9d6316466dd71","size":34530,"noattachment":false,"key":"/commonmark/-/commonmark-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/commonmark/download/commonmark-0.9.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"},"maintainers":[{"name":"fiddlosopher","email":"fiddlosopher@gmail.com"}],"publish_time":1415164207635,"_cnpm_publish_time":1415164207635,"_hasShrinkwrap":false}},"readme":"commonmark.js\n=============\n\n[![Build Status](https://github.com/commonmark/commonmark.js/workflows/CI%20tests/badge.svg)](https://github.com/commonmark/commonmark.js/actions)\n[![NPM version](https://img.shields.io/npm/v/commonmark.svg?style=flat)](https://www.npmjs.org/package/commonmark)\n\n\nCommonMark is a rationalized version of Markdown syntax,\nwith a [spec][the spec] and BSD-licensed reference\nimplementations in C and JavaScript.\n\n  [the spec]: http://spec.commonmark.org\n\nFor more information, see <http://commonmark.org>.\n\nThis repository contains the JavaScript reference implementation.\nIt provides a library with functions for parsing CommonMark\ndocuments to an abstract syntax tree (AST), manipulating the AST,\nand rendering the document to HTML or to an XML representation of the\nAST.\n\nTo play with this library without installing it, see\nthe live dingus at <http://try.commonmark.org/>.\n\nInstalling\n----------\n\nYou can install the library using `npm`:\n\n    npm install commonmark\n\nThis package includes the commonmark library and a\ncommand-line executable, `commonmark`.\n\nFor client-side use, you can use one of the single-file\ndistributions provided in the `dist/` subdirectory\nof the node installation (`node_modules/commonmark/dist/`).\nUse either `commonmark.js` (readable source) or\n`commonmark.min.js` (minimized source).\n\nAlternatively, `bower install commonmark` will install\nthe needed distribution files in\n`bower_components/commonmark/dist`.\n\nYou can also use the version hosted by unpkg: for example,\n<https://unpkg.com/commonmark@0.29.3/dist/commonmark.js>\nfor the unminimized version 0.29.3.\n\n\nBuilding\n--------\n\nMake sure to fetch dependencies with:\n\n    npm install\n\nTo run tests for the JavaScript library:\n\n    npm test\n\n(Running the tests will also rebuild distribution files in\n`dist/`.)\n\nTo run benchmarks against some other JavaScript converters:\n\n    make bench\n\nTo start an interactive dingus that you can use to try out\nthe library:\n\n    make dingus\n\nUsage\n-----\n\nInstead of converting Markdown directly to HTML, as most converters\ndo, `commonmark.js` parses Markdown to an AST (abstract syntax tree),\nand then renders this AST as HTML.  This opens up the possibility of\nmanipulating the AST between parsing and rendering.  For example, one\ncould transform emphasis into ALL CAPS.\n\nHere's a basic usage example:\n\n``` js\nvar reader = new commonmark.Parser();\nvar writer = new commonmark.HtmlRenderer();\nvar parsed = reader.parse(\"Hello *world*\"); // parsed is a 'Node' tree\n// transform parsed if you like...\nvar result = writer.render(parsed); // result is a String\n```\n\nThe constructors for `Parser` and `HtmlRenderer` take an optional\n`options` parameter:\n\n``` js\nvar reader = new commonmark.Parser({smart: true});\nvar writer = new commonmark.HtmlRenderer({sourcepos: true});\n```\n\n`Parser` currently supports the following:\n\n- `smart`:  if `true`, straight quotes will be made curly, `--` will\n  be changed to an en dash, `---` will be changed to an em dash, and\n  `...` will be changed to ellipses.\n\nBoth `HtmlRenderer` and `XmlRenderer` (see below) support these options:\n\n- `sourcepos`:  if `true`, source position information for block-level\n  elements will be rendered in the `data-sourcepos` attribute (for\n  HTML) or the `sourcepos` attribute (for XML).\n- `safe`: if `true`, raw HTML will not be passed through to HTML\n  output (it will be replaced by comments), and potentially unsafe\n  URLs in links and images (those beginning with `javascript:`,\n  `vbscript:`, `file:`, and with a few exceptions `data:`) will\n  be replaced with empty strings.\n- `softbreak`: specify raw string to be used for a softbreak.\n- `esc`: specify a function to be used to escape strings.  Its \n  argument is the string.\n\nFor example, to make soft breaks render as hard breaks in HTML:\n\n``` js\nvar writer = new commonmark.HtmlRenderer({softbreak: \"<br />\"});\n```\n\nTo make them render as spaces:\n\n``` js\nvar writer = new commonmark.HtmlRenderer({softbreak: \" \"});\n```\n\n`XmlRenderer` serves as an alternative to `HtmlRenderer` and\nwill produce an XML representation of the AST:\n\n``` js\nvar writer = new commonmark.XmlRenderer({sourcepos: true});\n```\n\nThe parser returns a Node.  The following public properties are defined\n(those marked \"read-only\" have only a getter, not a setter):\n\n- `type` (read-only):  a String, one of\n  `text`, `softbreak`, `linebreak`, `emph`, `strong`,\n  `html_inline`, `link`, `image`, `code`, `document`, `paragraph`,\n  `block_quote`, `item`, `list`, `heading`, `code_block`,\n  `html_block`, `thematic_break`.\n- `firstChild` (read-only):  a Node or null.\n- `lastChild` (read-only): a Node or null.\n- `next` (read-only): a Node or null.\n- `prev` (read-only): a Node or null.\n- `parent` (read-only): a Node or null.\n- `sourcepos` (read-only): an Array with the following form:\n  `[[startline, startcolumn], [endline, endcolumn]]`.\n- `isContainer` (read-only): `true` if the Node can contain other\n   Nodes as children.\n- `literal`: the literal String content of the node or null.\n- `destination`: link or image destination (String) or null.\n- `title`: link or image title (String) or null.\n- `info`: fenced code block info string (String) or null.\n- `level`: heading level (Number).\n- `listType`: a String, either `bullet` or `ordered`.\n- `listTight`: `true` if list is tight.\n- `listStart`: a Number, the starting number of an ordered list.\n- `listDelimiter`: a String, either `)` or `.` for an ordered list.\n- `onEnter`, `onExit`: Strings, used only for `custom_block` or\n  `custom_inline`.\n\nNodes have the following public methods:\n\n- `appendChild(child)`:  Append a Node `child` to the end of the\n  Node's children.\n- `prependChild(child)`:  Prepend a Node `child` to the\n  beginning of the Node's children.\n- `unlink()`:  Remove the Node from the tree, severing its links\n  with siblings and parents, and closing up gaps as needed.\n- `insertAfter(sibling)`: Insert a Node `sibling` after the Node.\n- `insertBefore(sibling)`: Insert a Node `sibling` before the Node.\n- `walker()`: Returns a NodeWalker that can be used to iterate through\n  the Node tree rooted in the Node.\n\nThe NodeWalker returned by `walker()` has two methods:\n\n- `next()`: Returns an object with properties `entering` (a boolean,\n  which is `true` when we enter a Node from a parent or sibling, and\n  `false` when we reenter it from a child).  Returns `null` when\n  we have finished walking the tree.\n- `resumeAt(node, entering)`: Resets the iterator to resume at the\n  specified node and setting for `entering`.  (Normally this isn't\n  needed unless you do destructive updates to the Node tree.)\n\nHere is an example of the use of a NodeWalker to iterate through\nthe tree, making transformations.  This simple example converts\nthe contents of all `text` nodes to ALL CAPS:\n\n``` js\nvar walker = parsed.walker();\nvar event, node;\n\nwhile ((event = walker.next())) {\n  node = event.node;\n  if (event.entering && node.type === 'text') {\n    node.literal = node.literal.toUpperCase();\n  }\n}\n```\n\nThis more complex example converts emphasis to ALL CAPS:\n\n``` js\nvar walker = parsed.walker();\nvar event, node;\nvar inEmph = false;\n\nwhile ((event = walker.next())) {\n  node = event.node;\n  if (node.type === 'emph') {\n    if (event.entering) {\n      inEmph = true;\n    } else {\n      inEmph = false;\n      // add Emph node's children as siblings\n      while (node.firstChild) {\n        node.insertBefore(node.firstChild);\n      }\n      // remove the empty Emph node\n      node.unlink()\n    }\n  } else if (inEmph && node.type === 'text') {\n      node.literal = node.literal.toUpperCase();\n  }\n}\n```\n\nExercises for the reader:  write a transform to\n\n1. De-linkify a document, transforming links to regular text.\n2. Remove all raw HTML (`html_inline` and `html_block` nodes).\n3. Run fenced code blocks marked with a language name through\n   a syntax highlighting library, replacing them with an `HtmlBlock`\n   containing the highlighted code.\n4. Print warnings to the console for images without image\n   descriptions or titles.\n\nCommand line\n------------\n\nThe command line executable parses CommonMark input from the\nspecified files, or from stdin if no files are specified, and\nrenders the result to stdout as HTML.  If multiple input files\nare specified, their contents are concatenated before parsing,\nwith newlines between them.\n\n```\ncommonmark inputfile.md > outputfile.html\ncommonmark intro.md chapter1.md chapter2.md > book.html\n```\n\nUse `commonmark --help` to get a summary of options.\n\nA note on security\n------------------\n\nThe library does not attempt to sanitize link attributes or\nraw HTML.  If you use this library in applications that accept\nuntrusted user input, you should either enable the `safe` option\n(see above) or run the output through an HTML sanitizer to protect against\n[XSS attacks](http://en.wikipedia.org/wiki/Cross-site_scripting).\n\nPerformance\n-----------\n\nPerformance is excellent, roughly on par with `marked`.  On a benchmark\nconverting an 11 MB Markdown file built by concatenating the Markdown\nsources of all localizations of the first edition of\n[*Pro Git*](https://github.com/progit/progit/tree/master/en) by Scott\nChacon, the command-line tool, `commonmark` is just a bit slower than\nthe C program `discount`, roughly ten times faster than PHP Markdown,\na hundred times faster than Python Markdown, and more than\na thousand times faster than `Markdown.pl`.\n\nHere are some focused benchmarks of four JavaScript libraries\n(using versions available on 24 Jan 2015).  They test performance\non different kinds of Markdown texts.  (Most of these samples\nare taken from the\n[markdown-it](https://github.com/markdown-it/markdown-it)\nrepository.)  Results show a ratio of ops/second (higher is better)\nagainst showdown (which is usually the slowest implementation).\nVersions: showdown 1.3.0, marked 0.3.5, commonmark.js 0.22.1,\nmarkdown-it 5.0.2, node 5.3.0.  Hardware: 1.6GHz Intel Core i5, Mac OSX.\n\n| Sample                   |showdown  |commonmark|marked    |markdown-it|\n|--------------------------|---------:|---------:|---------:|----------:|\n|[README.md]               |         1|       3.6|       3.1|        3.9|\n|[block-bq-flat.md]        |         1|       4.8|       4.9|        4.9|\n|[block-bq-nested.md]      |         1|      11.9|       6.8|       10.7|\n|[block-code.md]           |         1|       4.7|      12.1|       23.0|\n|[block-fences.md]         |         1|       6.2|      21.2|       19.1|\n|[block-heading.md]        |         1|       5.0|       4.8|        6.5|\n|[block-hr.md]             |         1|       3.5|       3.3|        3.5|\n|[block-html.md]           |         1|       2.1|       0.9|        3.8|\n|[block-lheading.md]       |         1|       5.1|       4.9|        3.9|\n|[block-list-flat.md]      |         1|       4.7|       4.4|        7.4|\n|[block-list-nested.md]    |         1|       9.5|       7.8|       17.6|\n|[block-ref-flat.md]       |         1|       0.8|       0.5|        0.6|\n|[block-ref-nested.md]     |         1|       0.7|       0.6|        0.9|\n|[inline-autolink.md]      |         1|       2.3|       3.4|        2.5|\n|[inline-backticks.md]     |         1|       7.6|       5.3|        8.2|\n|[inline-em-flat.md]       |         1|       1.5|       1.1|        1.6|\n|[inline-em-nested.md]     |         1|       1.8|       1.3|        1.7|\n|[inline-em-worst.md]      |         1|       2.4|       1.5|        2.5|\n|[inline-entity.md]        |         1|       2.0|       3.8|        2.7|\n|[inline-escape.md]        |         1|       2.2|       1.4|        5.0|\n|[inline-html.md]          |         1|       2.9|       3.7|        3.3|\n|[inline-links-flat.md]    |         1|       2.7|       2.7|        2.2|\n|[inline-links-nested.md]  |         1|       1.4|       0.5|        0.5|\n|[inline-newlines.md]      |         1|       2.3|       2.0|        3.5|\n|[lorem1.md]               |         1|       6.0|       2.9|        3.3|\n|[rawtabs.md]              |         1|       4.6|       3.9|        6.7|\n\n[block-html.md]: bench/samples/block-html.md\n[inline-links-nested.md]: bench/samples/inline-links-nested.md\n[inline-em-flat.md]: bench/samples/inline-em-flat.md\n[inline-autolink.md]: bench/samples/inline-autolink.md\n[inline-html.md]: bench/samples/inline-html.md\n[rawtabs.md]: bench/samples/rawtabs.md\n[inline-escape.md]: bench/samples/inline-escape.md\n[inline-em-worst.md]: bench/samples/inline-em-worst.md\n[block-list-nested.md]: bench/samples/block-list-nested.md\n[block-bq-nested.md]: bench/samples/block-bq-nested.md\n[block-bq-flat.md]: bench/samples/block-bq-flat.md\n[inline-newlines.md]: bench/samples/inline-newlines.md\n[block-ref-nested.md]: bench/samples/block-ref-nested.md\n[block-fences.md]: bench/samples/block-fences.md\n[lorem1.md]: bench/samples/lorem1.md\n[README.md]: bench/samples/README.md\n[inline-links-flat.md]: bench/samples/inline-links-flat.md\n[block-heading.md]: bench/samples/block-heading.md\n[inline-em-nested.md]: bench/samples/inline-em-nested.md\n[inline-entity.md]: bench/samples/inline-entity.md\n[block-list-flat.md]: bench/samples/block-list-flat.md\n[block-hr.md]: bench/samples/block-hr.md\n[block-lheading.md]: bench/samples/block-lheading.md\n[block-code.md]: bench/samples/block-code.md\n[inline-backticks.md]: bench/samples/inline-backticks.md\n[block-ref-flat.md]: bench/samples/block-ref-flat.md\n\nTo generate this table:\n\n    make bench-detailed\n\nAuthors\n-------\n\nJohn MacFarlane wrote the first version of the JavaScript\nimplementation.  The block parsing algorithm was worked out together\nwith David Greenspan.  Kārlis Gaņģis helped work out a better parsing\nalgorithm for links and emphasis, eliminating several worst-case\nperformance issues.  Vitaly Puzrin has offered much good advice\nabout optimization and other issues.\n","_attachments":{},"homepage":"https://commonmark.org","bugs":{"url":"https://github.com/commonmark/commonmark.js/issues"},"license":"BSD-2-Clause"}