add bgcolor for markdown

This commit is contained in:
Antoni Sawicki 2024-07-02 01:42:53 -07:00
parent 94d0e0d128
commit e64f413c76

3
txt.go
View File

@ -154,7 +154,8 @@ func (rq *wrpReq) captureMarkdown() {
} }
log.Printf("Rendered %v bytes html for %v", len(ht.String()), rq.url) log.Printf("Rendered %v bytes html for %v", len(ht.String()), rq.url)
rq.printHTML(printParams{ rq.printHTML(printParams{
text: string(asciify([]byte(ht.String()))), text: string(asciify([]byte(ht.String()))),
bgColor: "#FFFFFF",
}) })
} }