From: James Mills <1290234+prologic@users.noreply.github.com> Date: Sun, 26 Mar 2023 14:29:58 +0000 (+1000) Subject: Fix anchor ext to use a blank space by default so it can be more easily styled with CSS X-Git-Tag: 0.3.2~3 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=f64268f9cd88bbac3153cc8f5bc637244cd814c1;p=aya.git Fix anchor ext to use a blank space by default so it can be more easily styled with CSS --- diff --git a/main.go b/main.go index bcfad66..03aa1ba 100644 --- a/main.go +++ b/main.go @@ -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{},