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
This commit is contained in:
@@ -238,7 +238,7 @@ templ DocsLayout(nav Navigation, doc Document, user User) {
|
||||
|
||||
<!-- Content -->
|
||||
<div>
|
||||
{ doc.Content }
|
||||
@rawHTML(doc.Content)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user