Skip to content

Commit

Permalink
Document that strikethrough can also use a single tilde.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jun 29, 2023
1 parent 222166c commit 4f15a3f
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Strikethrough

~Single strike~

~~This is Striked~~

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

0 comments on commit 4f15a3f

Please sign in to comment.