fix: add markdown=1 to man-content div for proper MkDocs rendering
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user