aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2024-09-09 01:56:54 -0400
committerPaul Duncan <pabs@pablotron.org>2024-09-09 01:56:54 -0400
commitf57c09b63893ae4f9fefe9f4ab5b6ba9e9641ebf (patch)
tree02c4f9e38fdbdfca8deef7f28bae6f01b4f30f3d
parent579056a4f119938bde2dac90db8707422422416e (diff)
downloadpablotron.org-f57c09b63893ae4f9fefe9f4ab5b6ba9e9641ebf.tar.bz2
pablotron.org-f57c09b63893ae4f9fefe9f4ab5b6ba9e9641ebf.zip
config.toml: add config to enable delete, subscript, and superscript. disabled until debian updates hugo from version 0.111 to 0.126
-rw-r--r--config.toml27
1 files changed, 27 insertions, 0 deletions
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$']