Skip to content

Commit

Permalink
release: v 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tivie committed Mar 8, 2022
1 parent f8c4bd2 commit 50a1d0b
Showing 7 changed files with 62 additions and 7 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="2.0.3"></a>
## [2.0.3](https://github.com/showdownjs/showdown/compare/2.0.2...2.0.3) (2022-03-08)


### Bug Fixes

* **cli:** fix cli to work with yargs ([f8c4bd2](https://github.com/showdownjs/showdown/commit/f8c4bd2)), closes [#893](https://github.com/showdownjs/showdown/issues/893)



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

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
![Showdown][sd-logo]

![Build Status: Linux](https://github.com/showdownjs/showdown/actions/workflows/node.js.yml/badge.svg)
[![Build Status: Windows](https://ci.appveyor.com/api/projects/status/github/showdownjs/showdown?branch=master&svg=true)](https://ci.appveyor.com/project/tivie/showdown/branch/master)
[![npm version](https://badge.fury.io/js/showdown.svg)](http://badge.fury.io/js/showdown)
[![Bower version](https://badge.fury.io/bo/showdown.svg)](http://badge.fury.io/bo/showdown)
[![Join the chat at https://gitter.im/showdownjs/showdown](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/showdownjs/showdown?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -17,11 +16,12 @@ Showdown can be used client side (in the browser) or server side (with NodeJs).

Check a live Demo here http://demo.showdownjs.com/

## [![Patreon](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/bePatron?u=11141581)
## Funding

As you know, ShowdownJS is a free library and it will remain free forever. However, maintaining and improving the library costs time and money.

If you like our work and find our library useful, please donate through [patreon](https://www.patreon.com/showdownjs) or directly through [paypal](https://www.paypal.me/tiviesantos)!! Your contribution will be greatly appreciated and help me continue to develop this awesome library.
If you like our work and find our library useful, please donate through [paypal](https://www.paypal.me/tiviesantos)!!
Your contribution will be greatly appreciated and help us continue to develop this awesome library.

## License

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.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "showdown",
"version": "2.0.2",
"version": "2.0.3",
"description": "A Markdown to HTML converter written in Javascript",
"author": "Estevão Santos",
"homepage": "http://showdownjs.com/",
@@ -30,6 +30,10 @@
"url": "https://github.com/showdownjs/showdown.git",
"web": "https://github.com/showdownjs/showdown"
},
"funding": {
"type" : "individual",
"url" : "http://example.com/donate"
},
"license": "MIT",
"main": "./dist/showdown.js",
"scripts": {
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.3](https://github.com/showdownjs/showdown/tree/2.0.3)

### Test Suite: Basic (50 cycles)
| test | avgTime | max | min |
|:-----|--------:|----:|----:|
|Simple "Hello World"|0.092|0.274|0.080|
|performance.testfile.md|29.153|90.262|24.288|

### Test Suite: subParsers (20 cycles)
| test | avgTime | max | min |
|:-----|--------:|----:|----:|
|hashHTMLBlocks|7.912|29.437|2.238|
|anchors|0.437|1.063|0.332|
|autoLinks|0.187|1.060|0.099|
|blockQuotes|2.548|5.893|1.868|
|codeBlocks|0.176|0.285|0.155|
|codeSpans|0.255|0.329|0.233|
|detab|0.056|0.115|0.049|
|encodeAmpsAndAngles|0.158|1.202|0.094|
|encodeBackslashEscapes|0.076|0.145|0.061|
|encodeCode|0.608|1.295|0.522|
|escapeSpecialCharsWithinTagAttributes|0.235|0.623|0.183|
|githubCodeBlocks|0.182|0.309|0.149|
|hashBlock|0.039|0.108|0.033|
|hashElement|0.004|0.042|0.001|
|hashHTMLSpans|4.626|5.815|4.303|
|hashPreCodeTags|0.137|0.296|0.111|
|headers|1.221|2.903|1.002|
|horizontalRule|0.180|0.297|0.148|
|images|0.217|1.356|0.123|
|italicsAndBold|0.245|0.591|0.209|
|lists|2.921|4.082|2.453|
|outdent|0.185|0.268|0.160|
|paragraphs|5.697|9.187|4.694|
|spanGamut|4.410|9.589|3.533|
|strikethrough|0.006|0.078|0.001|
|stripLinkDefinitions|1.775|2.923|1.486|
|tables|0.006|0.086|0.001|
|unescapeSpecialChars|0.011|0.052|0.008|


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

### Test Suite: Basic (50 cycles)

0 comments on commit 50a1d0b

Please sign in to comment.