Skip to content

Commit 79a5b12

Browse files
committed
Fix tasklist example in rustdoc book.
1 parent cdbe288 commit 79a5b12

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/doc/rustdoc/src/how-to-write-documentation.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,13 @@ Example:
229229

230230
```md
231231
- [x] Complete task
232-
- [ ] IncComplete task
232+
- [ ] Incomplete task
233233
```
234234

235-
This will render as
235+
This will render as:
236236

237-
<ul>
238-
<li><input type="checkbox"></li>
239-
<li><input type="checkbox" checked></li>
240-
</ul>
237+
> - [x] Complete task
238+
> - [ ] Incomplete task
241239
242240
See the specification for the [task list extension] for more details.
243241

0 commit comments

Comments
 (0)