From 10020d88472f00d5668122f07b878d68a5b7efe0 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 8 Dec 2024 13:04:42 +0100 Subject: [PATCH] update config (goldmark.extensions) adds extra extension but has to disable strikethrough extension (extra includes strikethrough) --- config/_default/markup.toml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/config/_default/markup.toml b/config/_default/markup.toml index 1202e5b..5241889 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -3,19 +3,25 @@ # let us put inline html into the markdown files [goldmark] -[goldmark.renderer] - unsafe = true + [goldmark.extensions] + strikethrough = false + [goldmark.extensions.extras] + [goldmark.extensions.extras.delete] + enable = true + [goldmark.extensions.extras.subscript] + enable = true + [goldmark.renderer] + unsafe = true -# use {.[css-class]} after a paragraph to apply styling -[goldmark.parser] -[goldmark.parser.attribute] - block = true + # use {.[css-class]} after a paragraph to apply styling + [goldmark.parser] + [goldmark.parser.attribute] + block = true -# let the theme styling apply for code blocks -[highlight] - noClasses = false - -[tableOfContents] - startLevel = 2 - endLevel = 4 + # let the theme styling apply for code blocks + [highlight] + noClasses = false + [tableOfContents] + startLevel = 2 + endLevel = 4