rustdoc book: document single tilde strikethrough

This commit is contained in:
Lukas Markeffsky 2023-05-25 13:29:39 +00:00
parent 28ce0b9940
commit c2a446a95e

View File

@ -165,15 +165,15 @@ extensions:
### 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~~.
An example of ~~strikethrough text~~. You can also use ~single tildes~.
```
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].