The documentation for [conditional content](https://quarto.org/docs/authoring/conditional.html) only discusses the use of divs, but you can also use inline CSS for conditional content. It would be nice if this was documented on the conditional content page too.

Here's a reprex .qmd for demonstration:

```qmd
---
title: "Reprex"
format:
  pdf: default
  html: default
---

::: {.content-visible when-format="html"}

Will only appear in HTML. (div)

:::

::: {.content-visible when-format="pdf"}

Will only appear in PDF. (div)

:::

[Will only appear in HTML. (inline)]{.content-visible when-format="html"}

[Will only appear in PDF. (inline)]{.content-visible when-format="pdf"}
```
2023-01-05T19:19:36Z
mccarthy-m-g
documentation
Future
open
Document inline conditional content
https://github.com/quarto-dev/quarto-cli/issues/3863