Browse Source

release 1.8.0

Estevao Soares dos Santos 7 năm trước cách đây
mục cha
commit
13c1766b94
6 tập tin đã thay đổi với 146 bổ sung3 xóa
  1. 102 0
      CHANGELOG.md
  2. 1 1
      dist/showdown.js
  3. 1 1
      dist/showdown.min.js
  4. 1 1
      package.json
  5. 0 0
      performance.json
  6. 41 0
      performance.log.md

+ 102 - 0
CHANGELOG.md

@@ -1,3 +1,105 @@
+<a name="1.8.0"></a>
+# [1.8.0](https://github.com/showdownjs/showdown/compare/1.7.6...1.8.0) (2017-10-24)
+
+
+### Bug Fixes
+
+* **autolinks:** prevent _ and * to be parsed in links ([61929bb](https://github.com/showdownjs/showdown/commit/61929bb)), closes [#444](https://github.com/showdownjs/showdown/issues/444)
+
+
+### Features
+
+* **ellipsis:** add auto-ellipsis support ([25f1978](https://github.com/showdownjs/showdown/commit/25f1978))
+
+  - *Example:*
+    
+      input
+    
+      ```md
+      this is an ellipsis...
+      ```
+        
+      output
+    
+      ```html
+      <p>this is an ellipsis…</p>
+      ```
+
+* **emoji:** add emoji support through option `emoji`([5b8f1d3](https://github.com/showdownjs/showdown/commit/5b8f1d3)), closes [#448](https://github.com/showdownjs/showdown/issues/448)
+
+  - *Usage:*
+    
+      ```js
+      var conv = new showdown.Converter({emoji: true});
+      ```      
+    
+  - *Example:*
+    
+      input
+    
+      ```md
+      this is a smile :smile: emoji
+      ```
+        
+      output
+    
+      ```html
+      <p>this is a smile 😄 emoji</p>
+      ```
+    
+* **start ordered lists at an arbitrary number:** add support for defining the first item number of ordered lists ([9cdc35e](https://github.com/showdownjs/showdown/commit/9cdc35e)), closes [#377](https://github.com/showdownjs/showdown/issues/377)
+
+  - *Example:*
+    
+      input
+
+       ```md
+       3. foo
+       4. bar
+       5. baz
+       ```
+
+      output
+    
+      ```html
+      <ol start="3">
+        <li>foo</li>
+        <li>bar</li>
+        <li>baz</li>
+      </ol>
+      ```
+
+* **underline:** add EXPERIMENTAL support for underline ([084b819](https://github.com/showdownjs/showdown/commit/084b819)), closes [#450](https://github.com/showdownjs/showdown/issues/450)
+
+  - *Usage:*
+    
+      ```js
+      var conv = new showdown.Converter({underline: true});
+      ```
+    
+  - *Example:*
+    
+      input
+    
+      ```md
+      this is __underlined__ and this is ___also underlined___
+      ```
+        
+      output
+    
+      ```html
+      <p>this is <u>underlined</u> and this is <u>also underlined</u></p>
+      ```
+	
+  - *Note:*	With this option enabled, underscore no longer parses as `<em>` or `<strong>`	  
+			
+### BREAKING CHANGES
+
+* start ordered lists at an arbitrary number: Since showdown now supports starting ordered lists at an arbitrary number, 
+list output may differ.
+
+
+
 <a name="1.7.6"></a>
 ## [1.7.6](https://github.com/showdownjs/showdown/compare/1.7.5...1.7.6) (2017-10-06)
 

+ 1 - 1
dist/showdown.js

@@ -1,4 +1,4 @@
-;/*! showdown v 1.7.6 - 24-10-2017 */
+;/*! showdown v 1.8.0 - 24-10-2017 */
 (function(){
 /**
  * Created by Tivie on 13-07-2015.

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
dist/showdown.min.js


+ 1 - 1
package.json

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

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
performance.json


+ 41 - 0
performance.log.md

@@ -1,6 +1,47 @@
 # Performance Tests for showdown
 
 
+## [version 1.8.0](https://github.com/showdownjs/showdown/tree/1.8.0)
+
+### Test Suite: Basic (50 cycles)
+| test | avgTime | max | min |
+|:-----|--------:|----:|----:|
+|Simple "Hello World"|0.357|9.000|0.091|
+|performance.testfile.md|31.434|57.439|26.735|
+
+### Test Suite: subParsers (20 cycles)
+| test | avgTime | max | min |
+|:-----|--------:|----:|----:|
+|hashHTMLBlocks|4.177|7.661|2.346|
+|anchors|0.542|3.749|0.300|
+|autoLinks|0.087|0.183|0.069|
+|blockQuotes|2.049|3.552|1.815|
+|codeBlocks|0.264|1.163|0.185|
+|codeSpans|0.271|0.790|0.163|
+|detab|0.092|0.120|0.086|
+|encodeAmpsAndAngles|0.106|0.146|0.097|
+|encodeBackslashEscapes|0.091|0.152|0.077|
+|encodeCode|0.962|1.552|0.862|
+|escapeSpecialCharsWithinTagAttributes|0.239|0.487|0.173|
+|githubCodeBlocks|0.222|0.914|0.140|
+|hashBlock|0.063|0.402|0.035|
+|hashElement|0.001|0.025|0.000|
+|hashHTMLSpans|4.303|4.889|4.021|
+|hashPreCodeTags|0.164|0.541|0.110|
+|headers|1.159|3.779|0.968|
+|horizontalRule|0.244|0.419|0.194|
+|images|0.324|3.058|0.133|
+|italicsAndBold|0.289|0.419|0.237|
+|lists|2.671|3.139|2.494|
+|outdent|0.159|0.253|0.139|
+|paragraphs|5.594|6.833|5.159|
+|spanGamut|5.069|9.600|4.128|
+|strikethrough|0.003|0.062|0.000|
+|stripLinkDefinitions|0.271|0.400|0.225|
+|tables|0.002|0.031|0.000|
+|unescapeSpecialChars|0.008|0.038|0.007|
+
+
 ## [version 1.7.6](https://github.com/showdownjs/showdown/tree/1.7.6)
 
 ### Test Suite: Basic (50 cycles)

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác