mirror of
https://github.com/tenox7/wrp.git
synced 2025-02-07 23:30:51 +00:00
add bgcolor for markdown
This commit is contained in:
parent
94d0e0d128
commit
e64f413c76
3
txt.go
3
txt.go
@ -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",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user