Skip to content

Support Strikethrough? #53

Closed
Closed

Description

@KyleAMathews

Any chance you could add support for strikethrough? I know it's not in the official Markdown spec but it's something I need for my application.

Activity

  1. rymohr commented on Jun 13, 2012

    @rymohr

    Just came across this issue as well. Clearly github flavored markdown doesn't support supports strike throughs. :)

  2. KyleAMathews commented on Jun 13, 2012

    @KyleAMathews
    Author

    Haha! Oh, I feel really silly excited now! Thanks

  3. KyleAMathews commented on Jun 13, 2012

    @KyleAMathews
    Author

    Oh oops, I see what you were saying @islandr now. Github supports strikethroughs but marked.js doesn't.

  4. chjj commented on Jan 3, 2013

    @chjj
    Member

    Right. Don't know how I missed this. Will add it eventually.

    ~~testing~~

    testing

  5. ghost added a commit that references this issue on May 13, 2016
    02537b1
  6. p00j4 commented on Sep 5, 2020

    @p00j4

    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
    image

    Ideas to fix this?
    Here is my JS, could this be conflicting it in some way?

  7. UziTech commented on Sep 5, 2020

    @UziTech
    Member

    @p00j4 It looks like you are just using HTML not markdown. If you change ~~me~~ to <del>me</del> it should work.

  8. sanjeevbeekeeper commented on May 13, 2021

    @sanjeevbeekeeper

    Does this work on block code?.

    Block

    ~~Iam striked~~
    
  9. UziTech commented on May 13, 2021

    @UziTech
    Member
  10. sanjeevbeekeeper commented on May 13, 2021

    @sanjeevbeekeeper

    Help me! where did i go wrong.
    It is not working with block of code. - Demo

  11. calculuschild commented on May 13, 2021

    @calculuschild
    Contributor

    No, Markdown code blocks do not process internal formatting.

    From the Commonmark specs:

    The content of a code fence is treated as literal text, not parsed

  12. UziTech commented on May 13, 2021

    @UziTech
    Member

    Sorry I thought you meant does it work on block elements.

  13. deleted a comment from Monisha-proz on Nov 30, 2024
  14. jyj1202 commented on Jun 17, 2026

    @jyj1202

    i see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions