fix: make copy button copy raw markdown
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user