Skip to content

Commit

Permalink
build: release 2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tivie committed Apr 21, 2022
1 parent 914129f commit 2be8e2f
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 5 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
<a name="2.0.4"></a>
## [2.0.4](https://github.com/showdownjs/showdown/compare/2.0.3...2.0.4) (2022-04-21)


* test(cli)!: Add test for multiple config options ([914129f](https://github.com/showdownjs/showdown/commit/914129f)), closes [#916](https://github.com/showdownjs/showdown/issues/916)


### Bug Fixes

* **cli:** cli displays the correct version number ([8b48882](https://github.com/showdownjs/showdown/commit/8b48882))


### BREAKING CHANGES

* the CLI no longer accepts "extra options". Instead you should pass the `-c` flag. To update:

before:
```
showdown makehtml -i foo.md -o bar.html --strikethrough --emoji
```

after:
```
showdown makehtml -i foo.md -o bar.html -c strikethrough -c emoji
```



<a name="2.0.3"></a>
## [2.0.3](https://github.com/showdownjs/showdown/compare/2.0.2...2.0.3) (2022-03-08)

Expand Down
2 changes: 1 addition & 1 deletion bin/showdown.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/showdown.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/showdown.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "showdown",
"version": "2.0.3",
"version": "2.0.4",
"description": "A Markdown to HTML converter written in Javascript",
"author": "Estevão Santos",
"homepage": "http://showdownjs.com/",
Expand Down
2 changes: 1 addition & 1 deletion performance.json

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions performance.log.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,47 @@
# Performance Tests for showdown


## [version 2.0.4](https://github.com/showdownjs/showdown/tree/2.0.4)

### Test Suite: Basic (50 cycles)
| test | avgTime | max | min |
|:-----|--------:|----:|----:|
|Simple "Hello World"|0.152|4.211|0.053|
|performance.testfile.md|17.126|28.600|15.134|

### Test Suite: subParsers (20 cycles)
| test | avgTime | max | min |
|:-----|--------:|----:|----:|
|hashHTMLBlocks|2.682|5.429|1.470|
|anchors|0.331|2.759|0.177|
|autoLinks|0.063|0.180|0.042|
|blockQuotes|1.400|2.623|1.201|
|codeBlocks|0.108|0.150|0.102|
|codeSpans|0.197|0.574|0.159|
|detab|0.044|0.081|0.040|
|encodeAmpsAndAngles|0.091|0.154|0.073|
|encodeBackslashEscapes|0.047|0.078|0.040|
|encodeCode|0.401|0.844|0.347|
|escapeSpecialCharsWithinTagAttributes|0.134|0.202|0.124|
|githubCodeBlocks|0.121|0.425|0.084|
|hashBlock|0.025|0.052|0.023|
|hashElement|0.001|0.020|0.000|
|hashHTMLSpans|2.612|3.409|2.443|
|hashPreCodeTags|0.063|0.163|0.044|
|headers|0.716|1.447|0.638|
|horizontalRule|0.199|1.426|0.106|
|images|0.106|0.194|0.082|
|italicsAndBold|0.187|0.542|0.136|
|lists|1.663|2.077|1.505|
|outdent|0.147|0.466|0.102|
|paragraphs|3.397|4.047|3.006|
|spanGamut|2.451|3.099|2.226|
|strikethrough|0.003|0.046|0.000|
|stripLinkDefinitions|1.219|1.845|1.073|
|tables|0.003|0.041|0.000|
|unescapeSpecialChars|0.010|0.054|0.006|


## [version 2.0.3](https://github.com/showdownjs/showdown/tree/2.0.3)

### Test Suite: Basic (50 cycles)
Expand Down

0 comments on commit 2be8e2f

Please sign in to comment.