showdownjs / showdown

A bidirectional Markdown to HTML to Markdown converter written in Javascript
http://www.showdownjs.com/
MIT License
14.1k stars 1.57k forks source link

Strikethroughs won't render. #988

Closed HotdoGuy90 closed 9 months ago

HotdoGuy90 commented 9 months ago

Whenever I try to use a strikethrough example: ~~The earth is flat~~ what should happen is output with: "The earth is flat", however it doesn't. If you haven't implemented it yet, please do. And if it is but wont render, please fix it. (btw i think the html equivalent is the "del" tag)

pwbriggs commented 9 months ago

@HotdoGuy90 In order to use the strikethrough syntax, you must enable the strikethrough option in the configuration. It defaults to false, which is why it isn't working for you.

HotdoGuy90 commented 9 months ago

Oh Thanks :)