mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
allow attributes in doc headers
include ENABLE_HEADING_ATTRIBUTES markdown option
This commit is contained in:
parent
c645514739
commit
7c5dd9e0aa
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue