-
I am producing a pdf with the following pertinent options/metadata:
However, the intermediate HTML always includes some CSS styling from Pandoc. Unfortunately two lines in this styling throw warnings in weasyprint:
How do you advise resolving these warnings? Assuming this syntax is valid, I would favor either: 1. Pandoc removes all css when setting document-css: False (seems this should be the expected outcome) or 2. Contact the weasyprint developers to understand why this syntax is not supported. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The solution is to use a custom template. Get a copy of the default HTML5 template, and then delete the line
or substitute whatever CSS you want there. Then use this template with |
Beta Was this translation helpful? Give feedback.
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
or substitute whatever CSS you want there. Then use this template with
--template
.