From 4f15a3f85c811c7125be28c9eb88768324f695f3 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Thu, 29 Jun 2023 12:27:06 -0700 Subject: [PATCH] Document that strikethrough can also use a single tilde. --- guide/src/format/markdown.md | 2 +- test_book/src/individual/strikethrough.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/guide/src/format/markdown.md b/guide/src/format/markdown.md index 2a6f57d043..cd9f72b48c 100644 --- a/guide/src/format/markdown.md +++ b/guide/src/format/markdown.md @@ -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~~. diff --git a/test_book/src/individual/strikethrough.md b/test_book/src/individual/strikethrough.md index 4ce62cbdf2..9a54947795 100644 --- a/test_book/src/individual/strikethrough.md +++ b/test_book/src/individual/strikethrough.md @@ -1,5 +1,7 @@ # Strikethrough +~Single strike~ + ~~This is Striked~~ ~~This is **strong**, _italic_ , **_both_** and striked~~