serhii.net

In the middle of the desert you can say anything you want

02 Jul 2024

Ways to add CSS to a Quarto reveal presentation

Usual:

format: 
  revealjs:
    logo: logo.png
    theme: [default, custom.scss]

Adding after the first one, so no !important needed1:

format: 
  revealjs:
    logo: logo.png
    header-includes: |
      <link href="custom.css" rel="stylesheet">      

Inline w/o declaring classes2:

Some [red words]{style="color:#cc0000"}

or:

::: {style="font-size: 1.5em; text-align: center"}
styling an entire div
:::

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus