]> Nishi Git Mirror - aya.git/commitdiff
Add attribute parser option
authorJames Mills <1290234+prologic@users.noreply.github.com>
Sat, 18 Mar 2023 13:01:17 +0000 (23:01 +1000)
committerJames Mills <1290234+prologic@users.noreply.github.com>
Sat, 18 Mar 2023 13:01:17 +0000 (23:01 +1000)
main.go

diff --git a/main.go b/main.go
index 36cc25e77e1d70443189bdcaaf85dfc1dd5c6595..5475f538a87677c37b949368b1a902e7d9b62da8 100644 (file)
--- a/main.go
+++ b/main.go
@@ -421,6 +421,7 @@ func buildMarkdown(path string, w io.Writer, vars Vars) error {
                        &wikilink.Extender{},
                ),
                goldmark.WithParserOptions(
+                       parser.WithAttribute(),
                        parser.WithAutoHeadingID(),
                ),
                goldmark.WithRendererOptions(