mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2025-02-20 13:30:05 +00:00

Way better now. Also introduce a way to emphasize some keywords in code blocks without going full syntax-highlighting.
9 lines
205 B
HTML
9 lines
205 B
HTML
<details
|
|
{{ with .Parent -}}
|
|
id="transcript-{{ .Get "id" }}"
|
|
{{- end -}}>
|
|
<summary>Toggle transcript</summary>
|
|
<div itemprop="embeddedTextCaption">
|
|
{{ .Inner | markdownify | safeHTML }}
|
|
</div>
|
|
</details>
|