about summary refs log tree commit diff stats
path: root/go.mod
diff options
context:
space:
mode:
authorAlan Pearce2024-05-28 16:42:08 +0200
committerAlan Pearce2024-05-28 16:42:08 +0200
commita2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef (patch)
tree293c983c5b0642b475e6c184816f5cd344ae2a87 /go.mod
parent287cfec3d2479415bf3b7069702dbdb8c87b1826 (diff)
downloadwebsite-a2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef.tar.lz
website-a2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef.tar.zst
website-a2e6dd0ec7990b24f11e971462f9cdf1f5dc9fef.zip
Add support for pandoc-style fences
:::{#foo .bar}
text
:::

becomes

<div id="foo" class="bar">
text
</text>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 75e64b9..797ddda 100644
--- a/go.mod
+++ b/go.mod
@@ -19,6 +19,7 @@ require (
 	github.com/gohugoio/hugo v0.126.1
 	github.com/otiai10/copy v1.14.0
 	github.com/pkg/errors v0.9.1
+	github.com/stefanfritsch/goldmark-fences v1.0.0
 	github.com/sykesm/zap-logfmt v0.0.4
 	github.com/thessem/zap-prettyconsole v0.4.0
 	github.com/yuin/goldmark v1.7.1