This commit is contained in:
Anya Tokugawa committed 2026-05-19 21:30:42 +09:00
commit fa6a4c650f
93 files changed
+6555

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package render
import "html/template"
func SafeHTML(
input string,
) template.HTML {
return template.HTML(input)
}
+15
View File
@@ -0,0 +1,15 @@
package render
import (
"github.com/gomarkdown/markdown"
)
func Markdown(input string) string {
out := markdown.ToHTML(
[]byte(input),
nil,
nil,
)
return string(out)
}