Archived
redesign 2023
This commit is contained in:
commit
19bfc7311a
3053 files changed
+76380
No files matched your search
@@ -0,0 +1,3 @@
|
||||
{{- $id := dict "Content" .Attributes "Scratch" .Page.Scratch | partial "function/id.html" -}}
|
||||
{{- $codeBlock := transform.Highlight .Inner .Type .Options -}}
|
||||
{{- replace $codeBlock "<div class=\"highlight\">" (printf "<div class=\"highlight\" id=\"%v\">" $id) 1 | safeHTML -}}
|
||||
Reference in new issue
Block a user