rustdoc book: document single tilde strikethrough
This commit is contained in:
parent
28ce0b9940
commit
c2a446a95e
@ -165,15 +165,15 @@ extensions:
|
|||||||
### 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~~. You can also use ~single tildes~.
|
||||||
```
|
```
|
||||||
|
|
||||||
This example will render as:
|
This example will render as:
|
||||||
|
|
||||||
> An example of ~~strikethrough text~~.
|
> An example of ~~strikethrough text~~. You can also use ~single tildes~.
|
||||||
|
|
||||||
This follows the [GitHub Strikethrough extension][strikethrough].
|
This follows the [GitHub Strikethrough extension][strikethrough].
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user