diff options
| author | Michael Goulet <michael@errs.io> | 2023-05-25 13:57:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-25 13:57:59 -0700 |
| commit | bd7e8b5ef9617d3ac7fbd79596ee1754beef3206 (patch) | |
| tree | db5387e2b13c64c62b832ccaf811aef8b6d1ff9d /src | |
| parent | fb45513126298a32a43be5e19910a60e983a7d5c (diff) | |
| parent | c2a446a95ec503436930dba2408a9c36953ba19f (diff) | |
| download | rust-bd7e8b5ef9617d3ac7fbd79596ee1754beef3206.tar.gz rust-bd7e8b5ef9617d3ac7fbd79596ee1754beef3206.zip | |
Rollup merge of #111152 - lukas-code:markdown-parsers-are-hard, r=GuillaumeGomez
update `pulldown-cmark` to `0.9.3` This PR updates `pulldown-cmark` to version `0.9.3`, which does two main things: * Pulls in https://github.com/raphlinus/pulldown-cmark/pull/643 to fix https://github.com/rust-lang/rust/issues/111117 * Allows parsing strikethrough with single tildes, e.g. `~foo~` -> ~foo~. This matches the [GFM spec](https://github.github.com/gfm/#strikethrough-extension-). Full changelog: https://github.com/raphlinus/pulldown-cmark/pull/646
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustdoc/src/how-to-write-documentation.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustdoc/src/how-to-write-documentation.md b/src/doc/rustdoc/src/how-to-write-documentation.md index 38fd1db5c21..1fa9f814476 100644 --- a/src/doc/rustdoc/src/how-to-write-documentation.md +++ b/src/doc/rustdoc/src/how-to-write-documentation.md @@ -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]. |
