fix: make copy button copy raw markdown

This commit is contained in:
swaits committed 2025-10-07 16:34:20 -07:00
1 parent 5d6f929cc4
commit e1c6604432
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{{ define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end }}
{{ define "main" }}
<div class="coc-box">
<div class="coc-box" data-raw-content="{{ .RawContent }}">
<button class="copy-btn" onclick="copyCoC()">[copy]</button>
{{ .Content }}
</div>