Use ~~text~~ to create strikethrough in GitHub Flavored Markdown and other renderers that support the extension. Keep the tildes adjacent to the text. Core CommonMark does not define strikethrough, so a plain Markdown renderer may display the tildes instead of crossing out the words.
1Use the ~~legacy export~~ current export option.In a GFM-compatible rendering, the meaningful HTML is:
1<p>Use the <del>legacy export</del> current export option.</p>That shows a change, but the sentence is not necessarily the best final instruction. If the old option no longer matters, "Use the current export option" is clearer.
Use double tildes consistently
1~~No longer recommended~~2
3~~Old setting~~ **Replacement setting**The GFM strikethrough specification permits its extension's tilde forms, but double tildes are the clearer convention to share across common Markdown tools. Do not depend on a single-tilde spelling when the destination is unknown; some systems use tildes for other features.
Spaces between delimiters and content can prevent the intended parsing:
1~~ This spacing is not the recommended form. ~~A fenced block displays the syntax literally. Inline code also preserves it, which is useful when you are explaining ~~text~~ rather than applying it. For ordinary prose, escaped tildes such as \~\~text\~\~ can prevent formatting in supporting Markdown parsers.
Do not add escape backslashes inside a code sample merely to suppress Markdown: code spans and blocks already handle that role. See code blocks for literal syntax examples.
Distinguish deleted text from no-longer-relevant text
If HTML is allowed, these elements express different intentions:
1<del>Wording removed from the revised document</del>2<s>An offer that is no longer current</s>The MDN del reference describes a deletion, while the s element reference describes text that is no longer accurate or relevant. The visual line can look similar, but the meaning is not identical.
Raw HTML support is a separate requirement. A Markdown service may preserve these elements, sanitize them, or escape them. Test the destination rather than presenting HTML as an unconditional fallback.
For an actual document redline, inline strikethrough alone also does not provide version attribution, approval history, or a complete change record. Use a review system when those records matter.
Make the correction explicit in words
Avoid a standalone crossed-out setting with no explanation. A reader needs to know whether it is prohibited, deprecated, completed, or merely being discussed.
1**Correction:** The review window is 48 hours, not 24 hours.2
3Previous wording: ~~Complete the review within 24 hours.~~The current rule is readable without depending on the visual strike. This matters for readers using assistive technology, for copied plain text, and for content extracted into another system. Do not assume every screen reader announces deletion markup in the same way.
A task checkbox is usually better for completed work. A deprecation notice with a replacement and date is better for an obsolete API. A visible warning is better for an unsafe action. Strikethrough is a supporting visual cue, not a universal status model.
A small compatibility test
Paste this fixture into the actual publishing surface:
1Current value: **48 hours**.2
3Previous value: ~~24 hours~~.4
5Literal syntax: `~~24 hours~~`.Check that the current value remains obvious, the previous value receives deletion markup, and the literal example keeps its tildes. If both previous-value lines look literal, confirm that the renderer enables the extension.
If the page is MDX with a GFM plugin, compilation tests that pipeline. If the same source is exported to a different Markdown engine, test it there too. A local success does not define another platform's features.
For the full distinction between portable emphasis and HTML-dependent formatting, use the Markdown text-formatting reference.
FAQ
What is the Markdown strikethrough syntax?
Wrap the text in two tildes on each side, as in ~~old wording~~, in a renderer that supports strikethrough such as GFM.
Why do the tildes appear instead of a line through the text?
The renderer may not support strikethrough, the content may be inside code, or spacing may prevent the delimiters from being recognized.
Should I cross out completed checklist items?
Use checked task-list markers when the purpose is tracking completion. Strikethrough can show removed or outdated wording, but it does not by itself explain task status.