Hi
Let say I have to add foo
attribute to every link inside the ToC, my question is it possible to make it happend without using javascript?
my experiment is using replaceRE
but the problem is i still have no idea how to make it work.
// maybe something like this
{{ .TableOfContents | replaceRE "<a>" "..." | safeHTML }}
Thank you