markup/goldmark: Enhance footnote extension with backlinkHTML option

This commit introduces a new option, backlinkHTML, to the Goldmark
footnote extension. This allows users to the set custom text for
footnote backlink anchors.

Closes #11434
This commit is contained in:
Joe Mooring
2025-09-28 09:45:52 -07:00
committed by Bjørn Erik Pedersen
parent 47678d8cbd
commit b462980ac2
4 changed files with 23 additions and 6 deletions
+1
View File
@@ -1239,6 +1239,7 @@ config:
superscript:
enable: false
footnote:
backlinkHTML: '↩︎'
enable: true
enableAutoIDPrefix: false
linkify: true