1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-26 18:32:10 +00:00
seirdy.one/layouts/shortcodes/dd-id.html
2023-10-20 04:06:12 -07:00

1 line
113 B
HTML

{{ .Inner | .Page.RenderString | replaceRE "<dt>([^ ]*) {#([^}]*)}" `<dt id="$2" tabindex="-1">$1` | safeHTML }}