You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I understood something wrong, but I imagined that if I used :
::: {.content-hidden unless-format="html"}
<!-- Q: Why is this appearing on PDF? -->
# Welcome {.unnumbered .unlisted}
This is the website companion for [my dissertation](./IBToDL.pdf).
It is yet not finished, but I decided to publish it online anyway.
This version is being built with [Tufte-Quarto](http://github.com/fredguth/tufte-quarto).
[{.column-margin #fig-cover}](./IBToDL.pdf)
:::
in index.qmd, the content should not appear in pdf, but it does.
The motivation to add a hidden section in the index.qmd is to have a companion website to a book project that welcomes in html, but not in pdf (see: https://fredguth.github.io/IBToDL/).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Maybe I understood something wrong, but I imagined that if I used :
in index.qmd, the content should not appear in pdf, but it does.
In any other
qmd
file it work as expected.I created a minimum working example repo to illustrate: https://github.com/fredguth/quarto-mwe
This is the same problem reported here: #3047
The motivation to add a hidden section in the index.qmd is to have a companion website to a book project that
welcomes
in html, but not in pdf (see: https://fredguth.github.io/IBToDL/).Beta Was this translation helpful? Give feedback.
All reactions