fix: add markdown=1 to man-content div for proper MkDocs rendering

This commit is contained in:
“Naeel”
2026-07-17 10:02:02 +04:00
parent 80aa0dc814
commit 82f639dc31
@@ -133,7 +133,7 @@ func buildManualPage(spec types.ServiceSpec, nav string) string {
if man == "" { if man == "" {
man = "Manual not available." man = "Manual not available."
} }
b.WriteString("<div class=\"man-content\">\n\n") b.WriteString("<div class=\"man-content\" markdown=\"1\">\n\n")
b.WriteString(htmlToMarkdown(man)) b.WriteString(htmlToMarkdown(man))
b.WriteString("\n\n</div>\n") b.WriteString("\n\n</div>\n")
return b.String() return b.String()