Skip to content

Commit

Permalink
Merge pull request #6430 from stuarth/links-in-doc-headers
Browse files Browse the repository at this point in the history
allow attributes in doc headers
  • Loading branch information
rtfeldman authored Jan 29, 2024
2 parents 7c19b42 + 7c5dd9e commit dd86b11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/docs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,8 @@ fn markdown_to_html(
}
};

let markdown_options = pulldown_cmark::Options::ENABLE_TABLES;
let markdown_options =
pulldown_cmark::Options::ENABLE_TABLES | pulldown_cmark::Options::ENABLE_HEADING_ATTRIBUTES;

let mut in_code_block: Option<CowStr> = None;
let mut to_highlight = String::new();
Expand Down

0 comments on commit dd86b11

Please sign in to comment.