Basic cours support #44

Merged
Anri merged 67 commits from cours into main 2024-04-01 18:11:49 +02:00
Showing only changes of commit 7d71b600e4 - Show all commits

View file

@ -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
} }