enable footnotes, smart quotes and allow unsafe code
This commit is contained in:
parent
23f1135e37
commit
5a0b4444c8
1 changed files with 5 additions and 5 deletions
|
@ -41,12 +41,12 @@ pub fn get_options() -> ComrakOptions {
|
|||
tasklist: true,
|
||||
superscript: true,
|
||||
header_ids: Some(String::new()),
|
||||
footnotes: false, // true?
|
||||
footnotes: true,
|
||||
description_lists: true,
|
||||
front_matter_delimiter: Some("---".to_owned()),
|
||||
},
|
||||
parse: ComrakParseOptions {
|
||||
smart: false, // true one day?
|
||||
smart: true, // could be boring
|
||||
default_info_string: Some("plaintext".to_owned()),
|
||||
relaxed_tasklist_matching: true,
|
||||
},
|
||||
|
@ -54,9 +54,9 @@ pub fn get_options() -> ComrakOptions {
|
|||
hardbreaks: false, // could be true? change by metadata could be good for compatibility
|
||||
github_pre_lang: false,
|
||||
full_info_string: true,
|
||||
width: 0, // 0 mean disabled?
|
||||
unsafe_: false, // could be true? change by metadata could be good for compatibility
|
||||
escape: false, // may change in the future?
|
||||
width: 0, // 0 mean disabled?
|
||||
unsafe_: true,
|
||||
escape: false,
|
||||
list_style: ListStyleType::Dash,
|
||||
sourcepos: false,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue