ng-showdown icon indicating copy to clipboard operation
ng-showdown copied to clipboard

Strikethrough does not work in code blocks

Open JHaller27 opened this issue 6 years ago • 1 comments

Strikethroughs in code blocks formatted with strikethrough (rather than displaying bare symbols).

Example:

Code Expected Actual Comment
~~text~~ ~~text~~ ~~text~~ Good so far
`~~text~~` ~~text~~ ~~text~~ Strikethrough should not display
`**text**` **text** **text** For example, bold works as expected

JHaller27 avatar Oct 26 '18 19:10 JHaller27

I pulled up the showdown editor and confirmed that this is not an issue in the latest showdown.js. That means its likely that upgrading the showdown.js dependency in package.json will fix this issue.

If you care to speed up the process, could you check that upgrading the showdown version solves this issue for you? In any regard, I'll release a new version: 1.2.0 soon and check it there.

SyntaxRules avatar Oct 26 '18 19:10 SyntaxRules