Mastering GitHub Markdown: The Art of Strikethrough
In the realm of version control and collaborative coding, GitHub has become a powerhouse, and its Markdown language is a crucial tool for formatting and presenting text within this platform. Today, we're going to delve into one of Markdown's most useful features: the strikethrough. This nifty tool allows you to cross out text, indicating that it's no longer relevant, outdated, or simply crossed out for emphasis. Let's explore how to use it, its applications, and some best practices.
Understanding GitHub Markdown Strikethrough Syntax
GitHub Markdown uses a simple syntax to create strikethroughs. To cross out text, you'll need to wrap the text in two tildes (~~) on either side. Here's the basic syntax:
~~text to be crossed out~~
For example, using this syntax, you'd get ~~strikethrough text~~. Easy, right?

Strikethrough in Action: Use Cases
Now that you know the syntax, let's explore some practical use cases for strikethroughs in GitHub:
- Indicating Outdated Information: If you're writing a README or a wiki page, you can use strikethroughs to indicate that certain information is no longer relevant or has been updated.
- Emphasizing Text: Strikethroughs can also be used to emphasize text, similar to how you might use italics or bold text. For instance, you could use a strikethrough to emphasize that a certain feature has been removed from the latest version of a project.
- Creating To-Do Lists: While GitHub has built-in task lists, you can also use strikethroughs to create simple to-do lists. Just cross out the items as you complete them.
Strikethrough Best Practices
While there's no one-size-fits-all rule for using strikethroughs, here are some best practices to keep in mind:
- Use sparingly: Strikethroughs can be useful, but they can also make your text harder to read if overused. So, use them judiciously.
- Be clear: Make sure the reason for the strikethrough is clear. If it's not obvious, consider adding a note or explanation.
- Consistency is key: If you're using strikethroughs to indicate outdated information, use them consistently. Don't strike out some outdated information but not others.
Strikethroughs in Tables
You can also use strikethroughs in tables to indicate that a certain cell's content is no longer relevant. Here's an example:

| Feature | Version |
|---|---|
| Dark Mode | ~~1.0~~ |
| Dark Mode | 2.0 |
In this example, the strikethrough indicates that Dark Mode was not available in version 1.0, but it was added in version 2.0.
And there you have it! You're now a strikethrough pro. Happy coding, and remember, with great strikethrough power comes great responsibility. Use it wisely.























