Quick Reference
Syntax
~~strikethrough text~~
Result
Basic Strikethrough Usage
Strikethrough text in Markdown uses double tildes (~~
) before and after the text you want to cross out. This is part of GitHub Flavored Markdown (GFM) and is widely supported across platforms.
Example 1: Basic Strikethrough
Markdown:
This is ~~incorrect~~ text.
Output:
Example 2: Multiple Strikethroughs
Markdown:
~~Old price: $100~~ New price: $80 ~~Cancelled~~ ~~Postponed~~ Confirmed!
Output:
Advanced Strikethrough Techniques
Combining with Other Formatting
Strikethrough can be combined with other Markdown formatting:
Markdown:
~~**Bold and struck**~~ ~~*Italic and struck*~~ **~~Bold with strikethrough~~** *~~Italic with strikethrough~~*
Output:
Strikethrough in Lists
Strikethrough works in both ordered and unordered lists:
Markdown:
### Todo List - ~~Buy groceries~~ - ~~Walk the dog~~ - Finish project - ~~Call mom~~ ### Shopping List 1. ~~Apples~~ 2. ~~Bread~~ 3. Milk 4. ~~Eggs~~
Output:
Todo List
Buy groceriesWalk the dog- Finish project
Call mom
Shopping List
ApplesBread- Milk
Eggs
Platform Support
Platform | Support | Notes |
---|---|---|
GitHub | ✅ Full | Native GFM support |
GitLab | ✅ Full | GFM compatible |
Discord | ✅ Full | Supports ~~text~~ |
Slack | ✅ Full | ~text~ (single tilde) |
✅ Full | ~~text~~ supported | |
✅ Full | ~text~ (single tilde) | |
CommonMark | ❌ None | Not in base spec |
Note: Strikethrough is not part of the original CommonMark specification, but is widely supported as part of GitHub Flavored Markdown (GFM) extensions.
Common Issues and Solutions
❌ Problem: Spaces Around Tildes
Wrong:
~~ incorrect ~~
Correct:
~~correct~~
Spaces between the tildes and text will prevent strikethrough from working.
❌ Problem: Single Tildes
Wrong:
~single tilde~
Correct:
~~double tildes~~
Most platforms require double tildes (~~), though some like Slack use single tildes (~).
❌ Problem: Mismatched Tildes
Wrong:
~~missing closing
Correct:
~~properly closed~~
Always ensure you have matching opening and closing tilde pairs.
HTML Alternative
If your Markdown parser doesn't support strikethrough syntax, you can use HTML tags:
HTML in Markdown:
<del>struck out text</del> <s>also struck out</s>
Output:
Tip: The <del>
tag indicates deleted text, while <s>
indicates text that is no longer accurate or relevant.
Try Strikethrough Yourself!
Practice strikethrough syntax with our free online converter.