How do I create tables with custom styles using Python in Quarto+Typst and render them on PDF & HTML with applied styles? #10638
-
DescriptionIn my .qmd file (where I am using Typst extension in Quarto)-
I want to be able to apply custom css ( hopefully an external css file that can take all my table styling) to all my tables and render them on HTML and PDF |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Use any libraries of the Python ecosystem to produce the desired output. Regarding CSS and Typst, since 1.5, Quarto supports it, see https://quarto.org/docs/output-formats/typst.html#typst-css. That's not really a Quarto question. |
Beta Was this translation helpful? Give feedback.
You probably don't want both format pdf and format typst. The Typst format generates PDFs while the PDF format uses Latex, and there is not usually a reason to use both. (Yes we know this is confusing.)
You are probably seeing the Latex PDF overwrite the Typst PDF. If you remove format PDF you should see just the Typst output.