Markdown Strikethrough
Strikethrough allows you to render text with a horizontal line through the center, indicating that it should be removed or is no longer relevant.
In HTML, this corresponds to the s or del tags.
Strikethrough Syntax
To strike through text in Markdown, wrap it in two tildes (~~). This is a feature of GitHub Flavored Markdown (GFM) and other extended Markdown processors.
Combining with Other Styles
You can combine strikethrough with other types of emphasis like bold or italic.
Compatibility
While the double tilde (~~) is the standard Markdown way to denote strikethrough in GFM, it's worth noting that it's not part of the original Markdown specification. If you're using a very basic Markdown parser, it might not render the tildes as a strikethrough. In those cases, you can always fall back to the HTML s tag if your parser allows raw HTML.
On the next page, we'll look at how to add footnotes to your documents.