mirror of
https://github.com/typst/typst
synced 2025-05-23 21:45:29 +08:00
More Markdown features in docs
This commit is contained in:
parent
64d3fd8a3f
commit
7ac9b1a365
@ -53,7 +53,10 @@ impl Html {
|
|||||||
description = Some(document.metadata.description.clone())
|
description = Some(document.metadata.description.clone())
|
||||||
}
|
}
|
||||||
|
|
||||||
let options = md::Options::ENABLE_TABLES | md::Options::ENABLE_HEADING_ATTRIBUTES;
|
let options = md::Options::ENABLE_TABLES
|
||||||
|
| md::Options::ENABLE_FOOTNOTES
|
||||||
|
| md::Options::ENABLE_STRIKETHROUGH
|
||||||
|
| md::Options::ENABLE_HEADING_ATTRIBUTES;
|
||||||
|
|
||||||
let ids = Arena::new();
|
let ids = Arena::new();
|
||||||
let mut handler = Handler::new(text, resolver, nesting, &ids);
|
let mut handler = Handler::new(text, resolver, nesting, &ids);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user