Fix anchor ext to use a blank space by default so it can be more easily styled with CSS

This commit is contained in:
James Mills 2023-03-27 00:29:58 +10:00
parent 2dd66671f7
commit f64268f9cd
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

View File

@ -90,7 +90,7 @@ var Extensions = map[string]goldmark.Extender{
chromahtml.WithLineNumbers(true),
),
),
"anchor": &anchor.Extender{},
"anchor": &anchor.Extender{Texter: anchor.Text(" ")},
"d2": &d2.Extender{},
"embed": embed.New(),
"fences": &fences.Extender{},