mirror of
https://github.com/tenox7/wrp.git
synced 2024-11-21 19:30:48 +00:00
add background
This commit is contained in:
parent
41a14ad590
commit
4070fa7a53
3
wrp.go
3
wrp.go
@ -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",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user