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,
|
||||
},
|
||||
|
@ -55,8 +55,8 @@ pub fn get_options() -> ComrakOptions {
|
|||
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?
|
||||
unsafe_: true,
|
||||
escape: false,
|
||||
list_style: ListStyleType::Dash,
|
||||
sourcepos: false,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue