Skip to content

Commit

Permalink
Merge pull request #2110 from ehuss/strikethrough-single
Browse files Browse the repository at this point in the history
Document that strikethrough can also use a single tilde.
  • Loading branch information
ehuss committed Jun 29, 2023
2 parents 222166c + 4f15a3f commit 41d19e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion guide/src/format/markdown.md
Expand Up @@ -124,7 +124,7 @@ mdBook has several extensions beyond the standard CommonMark specification.
### Strikethrough

Text may be rendered with a horizontal line through the center by wrapping the
text with two tilde characters on each side:
text with one or two tilde characters on each side:

```text
An example of ~~strikethrough text~~.
Expand Down
2 changes: 2 additions & 0 deletions test_book/src/individual/strikethrough.md
@@ -1,5 +1,7 @@
# Strikethrough

~Single strike~

~~This is Striked~~

~~This is **strong**, _italic_ , **_both_** and striked~~

0 comments on commit 41d19e7

Please sign in to comment.