From e64f413c76f97cff46a5fa6d809ea1da9a51a473 Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Tue, 2 Jul 2024 01:42:53 -0700 Subject: [PATCH] add bgcolor for markdown --- txt.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/txt.go b/txt.go index d3b3e19..4b18311 100644 --- a/txt.go +++ b/txt.go @@ -154,7 +154,8 @@ func (rq *wrpReq) captureMarkdown() { } log.Printf("Rendered %v bytes html for %v", len(ht.String()), rq.url) rq.printHTML(printParams{ - text: string(asciify([]byte(ht.String()))), + text: string(asciify([]byte(ht.String()))), + bgColor: "#FFFFFF", }) }