evilstreak / markdown-js

A Markdown parser for javascript
7.69k stars 863 forks source link

Strikethrough component doesn't work. #302

Closed rdstach closed 6 years ago

rdstach commented 6 years ago
markdown.toHTML("Strikethrough uses two tildes. ~~Scratch this.~~")
"<p>Strikethrough uses two tildes. ~~Scratch this.~~</p>"

It does not work.

It should've returned this :

Strikethrough uses two tildes. Scratch this.

ashb commented 6 years ago

Strikethrough is part of Github flavoured markdown, duplicate of #41