Skip to content
Back to blog
Sunday, November 29, 2026

How to Cross Out Text in Markdown With Strikethrough

Learn where to place double tildes, fix common rendering problems, and turn a corrected release announcement into a readable PNG.

How to Cross Out Text in Markdown With Strikethrough

When a launch time changes, keep the old time visible long enough for readers to recognize the correction. Wrap it in ~~double tildes~~, then put the new time on a line of its own. The same pattern works in a README and in a release card saved as a PNG.

Write two tildes on each side

Type two tildes immediately before and after the words you want to cross out, as in ~~Friday at 17:00 UTC~~. In a renderer that supports GitHub Flavored Markdown (GFM) strikethrough, a line goes through the phrase. GitHub also accepts a matching single pair. Use double tildes in shared source files and check the preview in the app that will render them. GitHub formatting syntax · GFM strikethrough rules

Copy a release note and make a PNG

Use this sample for a release channel or a slide. The old time and signup label stay visible as corrections, and the new time sits on its own line.

## Release update

Previous launch ~~Friday at 17:00 UTC~~

**New launch Monday at 09:00 UTC**

- Replace ~~Beta access~~ with **Early access** on the signup button.
- Registration stays open.

Release notice with Friday at 17:00 UTC and Beta access crossed out, and Monday at 09:00 UTC and Early access in bold.

The image was rendered locally from this exact Markdown with a GFM renderer. The previous time and label both have a line through them. The current time and label use bold text, so the change is clear at a glance. Open the full-size PNG

To make your own card, paste the block into the converter, replace the sample details, and check the live preview. Export a PNG and open the downloaded file at the size your readers will see it. Check both the stroke and the new time, especially if your chat app shrinks the image. Open the Markdown to Image converter

Fix strikethrough that shows as plain text

What you seeWhat to change
The tildes appear in normal proseConfirm the renderer has GFM strikethrough enabled. Try ~~old label~~ in a fresh paragraph.
The markup appears in a grey code spanRemove the surrounding backticks where you want the line to render. Keep them when teaching the syntax.
The line stops at a blank lineWrap the text in each paragraph separately.
The line is hard to see in the exported cardIncrease font size or choose a higher-contrast theme, then reopen the exported PNG.

Keep the correction useful when you share it

Cross out the smallest phrase that explains what changed. When the old value can cause confusion, label the replacement with words such as “New launch” and put it in the message caption too. Include a link to the original release note so readers have a text version to copy and use.