Skip to content

Commit 2be8e2f

Browse files
committedApr 21, 2022
build: release 2.0.4
1 parent 914129f commit 2be8e2f

7 files changed

+74
-5
lines changed
 

‎CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
<a name="2.0.4"></a>
2+
## [2.0.4](https://github.com/showdownjs/showdown/compare/2.0.3...2.0.4) (2022-04-21)
3+
4+
5+
* 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)
6+
7+
8+
### Bug Fixes
9+
10+
* **cli:** cli displays the correct version number ([8b48882](https://github.com/showdownjs/showdown/commit/8b48882))
11+
12+
13+
### BREAKING CHANGES
14+
15+
* the CLI no longer accepts "extra options". Instead you should pass the `-c` flag. To update:
16+
17+
before:
18+
```
19+
showdown makehtml -i foo.md -o bar.html --strikethrough --emoji
20+
```
21+
22+
after:
23+
```
24+
showdown makehtml -i foo.md -o bar.html -c strikethrough -c emoji
25+
```
26+
27+
28+
129
<a name="2.0.3"></a>
230
## [2.0.3](https://github.com/showdownjs/showdown/compare/2.0.2...2.0.3) (2022-03-08)
331

‎bin/showdown.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/showdown.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/showdown.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "showdown",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "A Markdown to HTML converter written in Javascript",
55
"author": "Estevão Santos",
66
"homepage": "http://showdownjs.com/",

‎performance.json

+1-1
Large diffs are not rendered by default.

‎performance.log.md

+41
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,47 @@
11
# Performance Tests for showdown
22

33

4+
## [version 2.0.4](https://github.com/showdownjs/showdown/tree/2.0.4)
5+
6+
### Test Suite: Basic (50 cycles)
7+
| test | avgTime | max | min |
8+
|:-----|--------:|----:|----:|
9+
|Simple "Hello World"|0.152|4.211|0.053|
10+
|performance.testfile.md|17.126|28.600|15.134|
11+
12+
### Test Suite: subParsers (20 cycles)
13+
| test | avgTime | max | min |
14+
|:-----|--------:|----:|----:|
15+
|hashHTMLBlocks|2.682|5.429|1.470|
16+
|anchors|0.331|2.759|0.177|
17+
|autoLinks|0.063|0.180|0.042|
18+
|blockQuotes|1.400|2.623|1.201|
19+
|codeBlocks|0.108|0.150|0.102|
20+
|codeSpans|0.197|0.574|0.159|
21+
|detab|0.044|0.081|0.040|
22+
|encodeAmpsAndAngles|0.091|0.154|0.073|
23+
|encodeBackslashEscapes|0.047|0.078|0.040|
24+
|encodeCode|0.401|0.844|0.347|
25+
|escapeSpecialCharsWithinTagAttributes|0.134|0.202|0.124|
26+
|githubCodeBlocks|0.121|0.425|0.084|
27+
|hashBlock|0.025|0.052|0.023|
28+
|hashElement|0.001|0.020|0.000|
29+
|hashHTMLSpans|2.612|3.409|2.443|
30+
|hashPreCodeTags|0.063|0.163|0.044|
31+
|headers|0.716|1.447|0.638|
32+
|horizontalRule|0.199|1.426|0.106|
33+
|images|0.106|0.194|0.082|
34+
|italicsAndBold|0.187|0.542|0.136|
35+
|lists|1.663|2.077|1.505|
36+
|outdent|0.147|0.466|0.102|
37+
|paragraphs|3.397|4.047|3.006|
38+
|spanGamut|2.451|3.099|2.226|
39+
|strikethrough|0.003|0.046|0.000|
40+
|stripLinkDefinitions|1.219|1.845|1.073|
41+
|tables|0.003|0.041|0.000|
42+
|unescapeSpecialChars|0.010|0.054|0.006|
43+
44+
445
## [version 2.0.3](https://github.com/showdownjs/showdown/tree/2.0.3)
546

647
### Test Suite: Basic (50 cycles)

0 commit comments

Comments
 (0)
Please sign in to comment.