瀏覽代碼

release 1.6.3

Estevao Soares dos Santos 8 年之前
父節點
當前提交
ab54933b16
共有 5 個文件被更改,包括 60 次插入4 次删除
  1. 18 0
      CHANGELOG.md
  2. 1 1
      package.json
  3. 0 0
      performance.json
  4. 41 0
      performance.log.md
  5. 0 3
      test/node/performance.js

+ 18 - 0
CHANGELOG.md

@@ -1,3 +1,21 @@
+<a name="1.6.3"></a>
+## [1.6.3](https://github.com/showdownjs/showdown/compare/1.6.2...1.6.3) (2017-01-30)
+
+
+### Bug Fixes
+
+* **codeSpans:** add - and = to escaped chars inside code spans ([4243a31](https://github.com/showdownjs/showdown/commit/4243a31))
+* **italicsAndBold:** fix inconsistency in italicsAndBold parsing ([a4f05d4](https://github.com/showdownjs/showdown/commit/a4f05d4)), closes [#332](https://github.com/showdownjs/showdown/issues/332)
+* **literalMidWordUnderscores:** fix inconsistent behavior of emphasis and strong with literalMidWordUndescores ([0292ae0](https://github.com/showdownjs/showdown/commit/0292ae0)), closes [#333](https://github.com/showdownjs/showdown/issues/333)
+* **paragraphs:** fix empty lines generating empty paragraphs ([54bf744](https://github.com/showdownjs/showdown/commit/54bf744)), closes [#334](https://github.com/showdownjs/showdown/issues/334)
+* **strikethrough:** fix striketrough being wrongly parsed inside codeSpans ([169cbe8](https://github.com/showdownjs/showdown/commit/169cbe8))
+
+### Features
+
+* **events:** add events to all subparsers ([7d63a3e](https://github.com/showdownjs/showdown/commit/7d63a3e))
+
+
+
 <a name="1.6.2"></a>
 ## [1.6.2](https://github.com/showdownjs/showdown/compare/1.6.1...1.6.2) (2017-01-29)
 

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "showdown",
-  "version": "1.6.2",
+  "version": "1.6.3",
   "description": "A Markdown to HTML converter written in Javascript",
   "author": "Estevão Santos",
   "homepage": "http://showdownjs.github.io/showdown/",

File diff suppressed because it is too large
+ 0 - 0
performance.json


+ 41 - 0
performance.log.md

@@ -1,6 +1,47 @@
 # Performance Tests for showdown
 
 
+## [version 1.6.3](https://github.com/showdownjs/showdown/tree/1.6.3)
+
+### Test Suite: Basic (50 cycles)
+| test | avgTime | max | min |
+|:-----|--------:|----:|----:|
+|Simple "Hello World"|0.366|6.060|0.165|
+|performance.testfile.md|26.820|47.685|24.495|
+
+### Test Suite: subParsers (20 cycles)
+| test | avgTime | max | min |
+|:-----|--------:|----:|----:|
+|hashHTMLBlocks|2.660|9.402|1.874|
+|anchors|0.502|3.829|0.256|
+|autoLinks|0.097|0.244|0.073|
+|blockQuotes|3.239|6.987|2.821|
+|codeBlocks|0.195|0.382|0.174|
+|codeSpans|0.267|0.814|0.157|
+|detab|0.102|0.176|0.087|
+|encodeAmpsAndAngles|0.042|0.070|0.038|
+|encodeBackslashEscapes|0.076|0.125|0.068|
+|encodeCode|0.919|1.457|0.823|
+|escapeSpecialCharsWithinTagAttributes|0.276|0.638|0.242|
+|githubCodeBlocks|0.189|0.821|0.137|
+|hashBlock|0.119|1.526|0.036|
+|hashElement|0.002|0.032|0.000|
+|hashHTMLSpans|0.341|1.617|0.238|
+|hashPreCodeTags|0.139|0.299|0.109|
+|headers|0.955|2.204|0.803|
+|horizontalRule|0.216|0.331|0.194|
+|images|0.081|0.165|0.073|
+|italicsAndBold|0.254|0.438|0.210|
+|lists|5.076|5.787|4.679|
+|outdent|0.157|0.255|0.142|
+|paragraphs|4.067|5.360|3.584|
+|spanGamut|1.524|2.136|1.321|
+|strikethrough|0.005|0.093|0.000|
+|stripLinkDefinitions|0.160|0.229|0.143|
+|tables|0.002|0.038|0.000|
+|unescapeSpecialChars|0.009|0.050|0.006|
+
+
 ## [version 1.6.2](https://github.com/showdownjs/showdown/tree/1.6.2)
 
 ### Test Suite: Basic (50 cycles)

+ 0 - 3
test/node/performance.js

@@ -125,9 +125,6 @@ function runTests() {
     .add('strikethrough', function () {
       showdown.subParser('strikethrough')(testMDFile, options, globals);
     })
-    .add('stripBlankLines', function () {
-      showdown.subParser('stripBlankLines')(testMDFile, options, globals);
-    })
     .add('stripLinkDefinitions', function () {
       showdown.subParser('stripLinkDefinitions')(testMDFile, options, globals);
     })

Some files were not shown because too many files changed in this diff