1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-14 01:32:11 +00:00
seirdy.one/layouts/shortcodes/dd-id.html

2 lines
113 B
HTML
Raw Normal View History

2023-10-20 11:06:12 +00:00
{{ .Inner | .Page.RenderString | replaceRE "<dt>([^ ]*) {#([^}]*)}" `<dt id="$2" tabindex="-1">$1` | safeHTML }}