quarto-dev / quarto-cli

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

[feature-request] Support for giscus #304

Closed KeAWang closed 2 years ago

KeAWang commented 2 years ago

Would it be possible to support giscus? It's the same setup as utterances but uses Github Discussions instead of Github Issues. Utterances and giscus are almost identical in their setup.

jjallaire commented 2 years ago

Yes, giscus is on our radar and should be supported soon.

In the meantime, you can get it to work by placing your giscus <script> tag in a file (e.g. giscus.html) and then specifying that file in the include-after-body option, e.g.

format:
  html:
    include-after-body: giscus.html
jjallaire commented 2 years ago

Giscus is now formally supported (docs here: https://quarto.org/docs/output-formats/html-basics.html#commenting)