feat(cheddar): Set front_matter_delimiter = '---' extension
This chops off "front matter", which we have - for example - in Tvix documentation that is rendered through Pandoc. Change-Id: I65c7a4ad8171423a50aaf47c046dab8c774346d8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2717 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
ca578c04ec
commit
057331aa64
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ lazy_static! {
|
|||
options.extension.header_ids = Some(String::new()); // yyeeesss!
|
||||
options.extension.footnotes = true;
|
||||
options.extension.description_lists = true;
|
||||
options.extension.front_matter_delimiter = Some("---".to_owned());
|
||||
|
||||
// Required for tagfilter
|
||||
options.render.unsafe_ = true;
|
||||
|
|
Loading…
Reference in a new issue