update with new comrak features
This commit is contained in:
parent
3c46774463
commit
7d71b600e4
1 changed files with 4 additions and 0 deletions
|
@ -118,6 +118,9 @@ pub fn get_options() -> ComrakOptions {
|
||||||
options.extension.footnotes = true;
|
options.extension.footnotes = true;
|
||||||
options.extension.description_lists = true;
|
options.extension.description_lists = true;
|
||||||
options.extension.front_matter_delimiter = Some("---".into());
|
options.extension.front_matter_delimiter = Some("---".into());
|
||||||
|
options.extension.multiline_block_quotes = true;
|
||||||
|
options.extension.math_dollars = true;
|
||||||
|
options.extension.math_code = false;
|
||||||
|
|
||||||
// Parser
|
// Parser
|
||||||
options.parse.smart = true; // could be boring
|
options.parse.smart = true; // could be boring
|
||||||
|
@ -134,6 +137,7 @@ pub fn get_options() -> ComrakOptions {
|
||||||
options.render.escape = false;
|
options.render.escape = false;
|
||||||
options.render.list_style = ListStyleType::Dash;
|
options.render.list_style = ListStyleType::Dash;
|
||||||
options.render.sourcepos = false;
|
options.render.sourcepos = false;
|
||||||
|
options.render.escaped_char_spans = false;
|
||||||
|
|
||||||
options
|
options
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue