diff options
| author | Eric Huss <eric@huss.org> | 2021-05-25 06:04:22 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2021-05-25 06:08:27 -0700 |
| commit | 79a5b12a89c85e0402548d8b14670268db2455d1 (patch) | |
| tree | 7a0baaa52e7af5eb5c813755c143b929cfa765fb /src/doc/rustdoc | |
| parent | cdbe2888979bb8797b05f0d58a6f6e60753983d2 (diff) | |
Fix tasklist example in rustdoc book.
Diffstat (limited to 'src/doc/rustdoc')
| -rw-r--r-- | src/doc/rustdoc/src/how-to-write-documentation.md | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/doc/rustdoc/src/how-to-write-documentation.md b/src/doc/rustdoc/src/how-to-write-documentation.md index 688be7aedea..f89495cca3a 100644 --- a/src/doc/rustdoc/src/how-to-write-documentation.md +++ b/src/doc/rustdoc/src/how-to-write-documentation.md @@ -229,15 +229,13 @@ Example: ```md - [x] Complete task -- [ ] IncComplete task +- [ ] Incomplete task ``` -This will render as +This will render as: -<ul> - <li><input type="checkbox"></li> - <li><input type="checkbox" checked></li> -</ul> +> - [x] Complete task +> - [ ] Incomplete task See the specification for the [task list extension] for more details. |
