From 254085cad986d7e9ca8f652b6fe4652dc01e49ca Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 2 Feb 2026 08:51:33 -0500 Subject: [PATCH] docs: fix markdown rendering with @rawHTML directive Phase 1 complete: Fix rawHTML function in template - Change { doc.Content } to @rawHTML(doc.Content) - Ensures markdown converts to HTML properly - Fixes headings, lists, code blocks formatting --- templates/docs.templ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/docs.templ b/templates/docs.templ index 179495e..680978b 100644 --- a/templates/docs.templ +++ b/templates/docs.templ @@ -238,7 +238,7 @@ templ DocsLayout(nav Navigation, doc Document, user User) {
- { doc.Content } + @rawHTML(doc.Content)