update with new comrak features

This commit is contained in:
Mylloon 2024-03-31 13:36:22 +02:00
parent 3c46774463
commit 7d71b600e4
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -118,6 +118,9 @@ pub fn get_options() -> ComrakOptions {
options.extension.footnotes = true;
options.extension.description_lists = true;
options.extension.front_matter_delimiter = Some("---".into());
options.extension.multiline_block_quotes = true;
options.extension.math_dollars = true;
options.extension.math_code = false;
// Parser
options.parse.smart = true; // could be boring
@ -134,6 +137,7 @@ pub fn get_options() -> ComrakOptions {
options.render.escape = false;
options.render.list_style = ListStyleType::Dash;
options.render.sourcepos = false;
options.render.escaped_char_spans = false;
options
}