Skip to content

Adding CSS styling to PDF output #81

Answered by iandol
impostorsguides asked this question in Q&A
Discussion options

You must be logged in to vote

What PDF engine have you configured? Pandoc would not be able to convert CSS into LaTeX if that is what you are using (the default PDF engine). If you use PrinceXML or another HTML engine then you should be able to see the CSS effects, though noting that paged CSS (https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_paged_media) needs specific additions for a robust layout (web pages have no concept of a page, whereas they are fundamental to a PDF etc.)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by impostorsguides
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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