Skip to content

Commit

Permalink
rustdoc book: document single tilde strikethrough
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Markeffsky committed May 25, 2023
1 parent 28ce0b9 commit c2a446a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/rustdoc/src/how-to-write-documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].

Expand Down

0 comments on commit c2a446a

Please sign in to comment.