From a2722c0947abb773f9a5f00bb07eb3ab7ca03b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Mon, 28 Oct 2024 16:22:51 +0100 Subject: [PATCH] Allow markdown extensions --- src/blog.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/blog.ml b/src/blog.ml index db420cf..211f750 100644 --- a/src/blog.ml +++ b/src/blog.ml @@ -518,7 +518,7 @@ struct Pipeline.track_file Source.binary >>> Yocaml_yaml.Pipeline.read_file_with_metadata (module Article) file >>* (fun (obj, str) -> Eff.return (obj#with_host host, str)) - >>> Yocaml_cmarkit.content_to_html () + >>> Yocaml_cmarkit.content_to_html ~strict:false () >>> Yocaml_jingoo.Pipeline.as_template (module Article) (Source.template "article.html") @@ -559,7 +559,7 @@ struct >>> Yocaml_jingoo.Pipeline.as_template ~strict:true (module Articles) (Source.template "layout.html") - >>> Yocaml_cmarkit.content_to_html () + >>> Yocaml_cmarkit.content_to_html ~strict:false () >>> drop_first () end @@ -570,7 +570,7 @@ struct begin Pipeline.track_files [ Source.binary; file ] >>> Yocaml_yaml.Pipeline.read_file_with_metadata (module Page) file - >>> Yocaml_cmarkit.content_to_html () + >>> Yocaml_cmarkit.content_to_html ~strict:false () >>> Yocaml_jingoo.Pipeline.as_template ~strict:true (module Page) (Source.template "layout.html") @@ -612,7 +612,7 @@ struct >>> Yocaml_jingoo.Pipeline.as_template ~strict:true (module Articles) (Source.template "layout.html") - >>> Yocaml_cmarkit.content_to_html () + >>> Yocaml_cmarkit.content_to_html ~strict:false () >>> drop_first () end