add debug option to skip PNG rendering
This commit is contained in:
parent
8e5077e9be
commit
2cf7675588
4 changed files with 35 additions and 3 deletions
|
@ -30,6 +30,6 @@ const renderOptions = {
|
|||
]
|
||||
}
|
||||
|
||||
export default function (html) {
|
||||
export default async function (html) {
|
||||
return html2png(html, css, renderOptions)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue