Replies: 1 comment 3 replies
-
|
So either tell Quarto/Pandoc it's HTML and that it should not be read as markdown: ---
title: "Reproducible Quarto Document"
format: revealjs
---
```{=html}
<!-- comments -->
```
# Title 1 {visibility="hidden"}
Subtitle 1
------
# Title 2
Subtitle 2or hide the content in a Div. ---
title: "Reproducible Quarto Document"
format: revealjs
---
:::: {.content-hidden}
My comment
:::
# Title 1 {visibility="hidden"}
Subtitle 1
------
# Title 2
Subtitle 2 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Quarto: 1.8.25, Ubuntu 24.04
I want to have some "file-level" comments on my
qmdfile - e.g.<!-- comments -->, but not have them render or affect anythingWith the file's current format, the comments seem to create an empty slide (which I assume contains
<!-- comments -->) - however, my markdown is "well-defined" with#-levels.I don't want that empty slide
If I e.g. set
slide-level: 0(against default parsed ofslide-level: 2), then the<!-- comments -->don't create a slide - but the{visibility="hidden"}does not work anymore.I would wish that
{visibility="hidden"}would work - and not have to manually remove the text I have written (given that I still don't have the slides under a git-repo).Beta Was this translation helpful? Give feedback.
All reactions