Skip to content

Commit be8e17f

Browse files
author
Lukasz Anforowicz
committed
Fixing rustdoc
1 parent 88c314f commit be8e17f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/comment.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,10 +466,12 @@ impl ItemizedBlock {
466466
/// list marker"](https://spec.commonmark.org/0.30/#ordered-list-marker) is more limited (to at
467467
/// most 2 digits). Limiting the length of the marker helps reduce the risk of recognizing
468468
/// arbitrary numbers as markers. See also
469-
/// https://talk.commonmark.org/t/blank-lines-before-lists-revisited/1990 which gives the
469+
/// <https://talk.commonmark.org/t/blank-lines-before-lists-revisited/1990> which gives the
470470
/// following example where a number (i.e. "1868") doesn't signify an ordered list:
471-
/// > The Captain died in
472-
/// > 1868. He wes buried in...
471+
/// ```md
472+
/// The Captain died in
473+
/// 1868. He wes buried in...
474+
/// ```
473475
fn get_marker_length(trimmed: &str) -> Option<usize> {
474476
// https://spec.commonmark.org/0.30/#bullet-list-marker or
475477
// https://spec.commonmark.org/0.30/#block-quote-marker

0 commit comments

Comments
 (0)