You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if i'm reporting this at wrong place, not sure if github.io is also using marked.js but this is the most close I have found for my problem here The strikethrough doesn't work with the tildes
Ideas to fix this?
Here is my JS, could this be conflicting it in some way?
Activity
rymohr commentedon Jun 13, 2012
Just came across this issue as well. Clearly github flavored markdown
doesn't supportsupports strike throughs. :)KyleAMathews commentedon Jun 13, 2012
Haha! Oh, I feel really
sillyexcited now! ThanksKyleAMathews commentedon Jun 13, 2012
Oh oops, I see what you were saying @islandr now. Github supports strikethroughs but marked.js doesn't.
chjj commentedon Jan 3, 2013
Right. Don't know how I missed this. Will add it eventually.
~~testing~~testingadd gfm strikethrough. fixes markedjs#53.
p00j4 commentedon Sep 5, 2020
Apologies if i'm reporting this at wrong place, not sure if github.io is also using marked.js but this is the most close I have found for my problem here The strikethrough doesn't work with the tildes

Ideas to fix this?
Here is my JS, could this be conflicting it in some way?
UziTech commentedon Sep 5, 2020
@p00j4 It looks like you are just using HTML not markdown. If you change
~~me~~to<del>me</del>it should work.sanjeevbeekeeper commentedon May 13, 2021
Does this work on block code?.
Block
UziTech commentedon May 13, 2021
@sanjeevbeekeeper yes demo
sanjeevbeekeeper commentedon May 13, 2021
Help me! where did i go wrong.
It is not working with block of code. - Demo
calculuschild commentedon May 13, 2021
No, Markdown code blocks do not process internal formatting.
From the Commonmark specs:
UziTech commentedon May 13, 2021
Sorry I thought you meant does it work on block elements.
jyj1202 commentedon Jun 17, 2026
i see