diff options
author | Vincent Ambo <mail@tazj.in> | 2021-03-31T22·09+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-03-31T22·20+0000 |
commit | 057331aa6428e0c27edca8e49f3e0e87edd82e36 (patch) | |
tree | 55057d3511981e8e040b1d27612fd8378184ac27 /tools | |
parent | ca578c04ec2d1f2c3641069226be07ce8a03cb69 (diff) |
feat(cheddar): Set front_matter_delimiter = '---' extension r/2375
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/cheddar/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cheddar/src/main.rs b/tools/cheddar/src/main.rs index 168f491fc650..9f6d1a25db52 100644 --- a/tools/cheddar/src/main.rs +++ b/tools/cheddar/src/main.rs @@ -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; |