add background

This commit is contained in:
Antoni Sawicki 2024-06-22 01:21:58 -07:00
parent 41a14ad590
commit 4070fa7a53

3
wrp.go
View File

@ -451,7 +451,8 @@ func (rq *wrpReq) toMarkdown() {
r := html.NewRenderer(html.RendererOptions{}) r := html.NewRenderer(html.RendererOptions{})
ht := markdown.Render(d, r) ht := markdown.Render(d, r)
rq.printHTML(printParams{ rq.printHTML(printParams{
text: string(ht), text: string(ht),
bgColor: "#FFFFFF",
}) })
} }