Merge pull request #2110 from ehuss/strikethrough-single
Document that strikethrough can also use a single tilde.
This commit is contained in:
commit
41d19e7338
|
@ -124,7 +124,7 @@ mdBook has several extensions beyond the standard CommonMark specification.
|
||||||
### Strikethrough
|
### Strikethrough
|
||||||
|
|
||||||
Text may be rendered with a horizontal line through the center by wrapping the
|
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
|
```text
|
||||||
An example of ~~strikethrough text~~.
|
An example of ~~strikethrough text~~.
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# Strikethrough
|
# Strikethrough
|
||||||
|
|
||||||
|
~Single strike~
|
||||||
|
|
||||||
~~This is Striked~~
|
~~This is Striked~~
|
||||||
|
|
||||||
~~This is **strong**, _italic_ , **_both_** and striked~~
|
~~This is **strong**, _italic_ , **_both_** and striked~~
|
||||||
|
|
Loading…
Reference in New Issue