quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.89k stars 320 forks source link

Giscus light/dark theme yaml example incorrect #10003

Closed ozanozbeker closed 4 months ago

ozanozbeker commented 4 months ago

What would you like to do?

Report an issue on quarto.org

Description

In the Giscus section, https://quarto.org/docs/reference/projects/websites.html#giscus, the documentation shows:

website:
  comments:
    giscus:
      light: light # giscus theme used for light website theme
      dark: dark_dimmed # giscus theme used for dark website theme

But it should be:

website:
  comments:
    giscus:
      theme:
        light: light # giscus theme used for light website theme
        dark: dark_dimmed # giscus theme used for dark website theme
mcanouil commented 4 months ago

Thanks! (PR is up)