4 ms·
Hello, I have a rather specific question. I want to write a detailed tutorial (as HTML page) and a condensed version of it (as Reveal JS slides) from a single
by hatmatrix 3y ago
Hello, I have a rather specific question.
I want to write a detailed tutorial (as HTML page) and a condensed version of it (as Reveal JS slides) from a single document.
I have found this suggestion[1] to specify the separate output file name for the slides in the header, and `quarto render myfile.qmd` will generate both.
Is there a way to include content (long form text, code, or images) that will only be exported in the HTML page but not in the slides (where space is more limited)?
[1] https://github.com/quarto-dev/quarto-cli/discussions/1751 https://github.com/quarto-dev/quarto-cli/discussions/1751
- cscheid 3y agoTake a look at our conditional content support. You'll want to use something like {.content-visible unless-format="revealjs"} https://quarto.org/docs/authoring/conditional.html https://quarto.org/docs/authoring/conditional.html
- hatmatrix 3y agoThanks! I'll give it a try.
- j0k3r_85 3y agoI recently did this by putting long form text into the talking notes of the revealjs presentation