Phase 1: Fix markdown rendering

- Add rawHTML helper function using template.HTML()
- Update docs template to use { template.HTML(doc.Content) }
- Docs now render HTML headings and content properly
- Markdown is converted to HTML by goldmark (with Unsafe()) and output directly
This commit is contained in:
john-okeefe committed 2026-02-01 21:05:12 -05:00
1 parent 5c7137feb8
commit 1e8cfa1008
5 files changed
+1380 -97

No files matched your search

+3
View File
@@ -160,3 +160,6 @@ type BreadcrumbItem struct {
Title string
URL string
}
// UnsafeHTML is used for rendering raw HTML (like rendered markdown)
type UnsafeHTML string