How to use .content-visible with headers? #6257
-
DescriptionI am trying to use the same file to render both html and revealjs output formats. So far, I have been successful. The only issue is hiding headers when rendering html vs displaying them when rendering revealjs. I want my slides to have headers but I do not want redundant headers for the html output. Currently, I am using the following: ## Some Slide Title
Example Notes 1
::: {.content-visible when-format="revealjs"}
## Some Slide Title
:::
Example Notes 2 Rendering this results in the desired behavior in html but not revealjs. The revealjs version contains "Example Notes 2" at the top left of every single slide. Is there something where I can remove consecutive headers that are exactly the same (for the html, but not revealjs)? Any thoughts would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Beta Was this translation helpful? Give feedback.
What version of Quarto are you using (output of
quarto check
) and using which browser?