From f57c09b63893ae4f9fefe9f4ab5b6ba9e9641ebf Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 9 Sep 2024 01:56:54 -0400 Subject: config.toml: add config to enable delete, subscript, and superscript. disabled until debian updates hugo from version 0.111 to 0.126 --- config.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'config.toml') diff --git a/config.toml b/config.toml index 4de99f8..ae87f3f 100644 --- a/config.toml +++ b/config.toml @@ -66,6 +66,33 @@ email = "rss-spam@pablotron.org" style = 'monokai' tabWidth = 4 + # enable subscript and superscript (2024-09-09) + # note: must disable the strikethrough extension for this to work + # according to the documentation here: + # https://gohugo.io/getting-started/configuration-markup/#extras + # + # note: new in v0.126.0, but debian is on 0.111.3-1 right now. in the + # mean time, use the "sup" and "sub" shortcodes + # + # [markup.goldmark] + # [markup.goldmark.extensions] + # # disable strikethrough extension + # strikethrough = false + # [markup.goldmark.extensions.extras] + # [markup.goldmark.extensions.extras.delete] + # # enable delete + # enable = true + # [markup.goldmark.extensions.extras.insert] + # enable = false + # [markup.goldmark.extensions.extras.mark] + # enable = false + # [markup.goldmark.extensions.extras.subscript] + # # enable subscript + # enable = true + # [markup.goldmark.extensions.extras.superscript] + # # enable superscript + # enable = true + # allow executing vim (2023-12-29) [security.exec] allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', '^vim$'] -- cgit v1.2.3