From 4d883c54fea8206f357f409bc706c72e442c2c40 Mon Sep 17 00:00:00 2001 From: Marco Paganini Date: Mon, 25 Nov 2024 17:41:54 -0800 Subject: [PATCH] Allow inline rendering of HTML in markdown files. --- config.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 7b33213e..d07c209e 100644 --- a/config.toml +++ b/config.toml @@ -8,8 +8,12 @@ defaultContentLanguage = "pt" # Define the number of posts per page pagination.PagerSize = 12 -# Render HTML in articles. -ignoreLogs = ['warning-goldmark-raw-html'] +# Allow rendering of inline html (hi-scores are merged into scores.md by +# http://github.com/osprogramadores/op-scoreboard). +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true [menu]