html->pdf, how can I avoid pandoc modifying the styling? #9567
Unanswered
elondres-mim
asked this question in
Q&A
Replies: 1 comment
-
If your source files are HTML, just use pagedjs-cli directly. Pandoc preserves structure but does not always preserve stylistic information. If you must use pandoc, try using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have HTML files I'd like to use pandoc to convert to pdf format. Using pagedjs-cli or wkhtmltopdf directly comes out great, using weasyprint directly comes out ok. Using any three of these output options with pandoc results in much of the source document's styling being removed and replaced with different styling.
Is it possible to configure my invocation of pandoc to more closely mirror pagedjs-cli and wkhtmltopdf's default options?
Beta Was this translation helpful? Give feedback.
All reactions