From 87d29298acc302206a92ef73ab44af377880ad55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Wed, 15 Nov 2023 11:13:36 +0100 Subject: [PATCH] Allow commonmark extensions --- src/task.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/task.ml b/src/task.ml index 8bf2800..8b80ffe 100644 --- a/src/task.ml +++ b/src/task.ml @@ -48,7 +48,7 @@ let process_articles target = >>> Metaformat.read_file_with_metadata (module Model.Article) article_file - >>> Markup.content_to_html () + >>> Markup.content_to_html ~strict:false () >>> Template.apply_as_template (module Model.Article) article_template >>> Template.apply_as_template (module Model.Article) layout_template >>^ Stdlib.snd)) @@ -99,7 +99,7 @@ let generate_index target = (index_html target) (binary_update >>> Metaformat.read_file_with_metadata (module Metadata.Page) index_md - >>> Markup.content_to_html () + >>> Markup.content_to_html ~strict:false () >>> articles_arrow >>^ merge_with_page >>> Template.apply_as_template (module Model.Articles) list_template