Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ddafe23
Consider lint check attributes on match arms in late lints
lowr May 18, 2023
3a03587
Consider lint check attributes on match arms in match checks
lowr May 18, 2023
cb2ba42
update pulldown-cmark to 0.9.3
May 21, 2023
b63cc5c
rustdoc: add regression test for broken link due to double backticks
May 3, 2023
4692375
Don't print newlines in APITs
compiler-errors May 25, 2023
d816b8b
Fix Mac Catalyst linking by adding build version
bmisiak May 9, 2023
223f6f5
Migrate GUI colors test to original CSS color format
GuillaumeGomez May 25, 2023
28ce0b9
rustdoc: add test for strikethrough with single tildes
May 21, 2023
c2a446a
rustdoc book: document single tilde strikethrough
May 25, 2023
0919ec3
Remove ExpnKind::Inlined.
cjgillot May 24, 2023
3a423c3
Manually add inlined frames in the interpreter stacktrace.
cjgillot May 24, 2023
ace794c
Always capture slice when pattern requires checking the length
clubby789 May 21, 2023
b35b134
Rollup merge of #111152 - lukas-code:markdown-parsers-are-hard, r=Gui…
matthiaskrgr May 25, 2023
8eaef97
Rollup merge of #111384 - bmisiak:issue-106021-fix, r=petrochenkov
matthiaskrgr May 25, 2023
a6cc412
Rollup merge of #111757 - lowr:fix/lint-attr-on-match-arm, r=eholk
matthiaskrgr May 25, 2023
9301d73
Rollup merge of #111831 - clubby789:capture-slice-pat, r=cjgillot
matthiaskrgr May 25, 2023
8082a84
Rollup merge of #111929 - compiler-errors:no-newline-apit, r=wesleywiser
matthiaskrgr May 25, 2023
281f8e5
Rollup merge of #111945 - GuillaumeGomez:migrate-gui-test-color-7, r=…
matthiaskrgr May 25, 2023
0390af0
Rollup merge of #111950 - cjgillot:expn-noinline, r=oli-obk
matthiaskrgr May 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rustdoc book: document single tilde strikethrough
  • Loading branch information
Lukas Markeffsky committed May 25, 2023
commit c2a446a95ec503436930dba2408a9c36953ba19f
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