Skip to content

Commit

Permalink
Fix tasklist example in rustdoc book.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed May 25, 2021
1 parent cdbe288 commit 79a5b12
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/doc/rustdoc/src/how-to-write-documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 79a5b12

Please sign in to comment.