Allow commonmark extensions

This commit is contained in:
Reynir Björnsson 2024-10-16 11:57:39 +02:00
parent 33ef4926e2
commit 3deddd702f

View file

@ -530,7 +530,7 @@ struct
Pipeline.track_file Source.binary Pipeline.track_file Source.binary
>>> Yocaml_yaml.Pipeline.read_file_with_metadata (module Article) file >>> Yocaml_yaml.Pipeline.read_file_with_metadata (module Article) file
>>* (fun (obj, str) -> Eff.return (obj#with_host host, str)) >>* (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 >>> Yocaml_jingoo.Pipeline.as_template
(module Article) (module Article)
(Source.template "article.html") (Source.template "article.html")
@ -561,7 +561,7 @@ struct
begin begin
Pipeline.track_files [ Source.binary; Source.articles ] Pipeline.track_files [ Source.binary; Source.articles ]
>>> Yocaml_yaml.Pipeline.read_file_with_metadata (module Page) file >>> Yocaml_yaml.Pipeline.read_file_with_metadata (module Page) file
>>> Yocaml_cmarkit.content_to_html () >>> Yocaml_cmarkit.content_to_html ~strict:false ()
>>> first compute_index >>> first compute_index
>>* (fun (obj, str) -> Eff.return (obj#with_host host, str)) >>* (fun (obj, str) -> Eff.return (obj#with_host host, str))
>>> Yocaml_jingoo.Pipeline.as_template ~strict:true >>> Yocaml_jingoo.Pipeline.as_template ~strict:true
@ -590,7 +590,7 @@ struct
begin begin
Pipeline.track_files [ Source.binary; Source.articles ] Pipeline.track_files [ Source.binary; Source.articles ]
>>> Yocaml_yaml.Pipeline.read_file_with_metadata (module Page) file >>> Yocaml_yaml.Pipeline.read_file_with_metadata (module Page) file
>>> Yocaml_cmarkit.content_to_html () >>> Yocaml_cmarkit.content_to_html ~strict:false ()
>>> first compute_index >>> first compute_index
>>* (fun (obj, str) -> Eff.return (Tags.of_articles (obj#with_host host), str)) >>* (fun (obj, str) -> Eff.return (Tags.of_articles (obj#with_host host), str))
>>> Yocaml_jingoo.Pipeline.as_template ~strict:true >>> Yocaml_jingoo.Pipeline.as_template ~strict:true