Skip to content

HTML Template for Weasyprint engine #9741

Answered by jgm
bmweiner asked this question in Q&A
May 10, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

document-css This is not a variable or metadata field that plays any role in pandoc.

The solution is to use a custom template. Get a copy of the default HTML5 template, and then delete the line

$styles.html()$

or substitute whatever CSS you want there. Then use this template with --template.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@bmweiner
Comment options

@jgm
Comment options

jgm May 10, 2024
Maintainer

@bmweiner
Comment options

@jgm
Comment options

jgm May 10, 2024
Maintainer

Answer selected by bmweiner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants