### Bug description

Variables in my _variable.yml file that are arbitrary markdown content are not interpreted as markdown when my .qmd file is rendered. The variable behaves as a simple string. My .qmd file is shown below.

```md
---
title: Test
---

:::{.content-hidden when-format="revealjs"}

My content for HTML


{{< var slide.open >}}
My content for revealjs
{{< var slide.close >}}

My other content for HTML

:::

```

My _variable.yml has the following keys

```yaml
slide:
    open: |
        :::
        :::{.content-visible when-format="revealjs"}
    close: |
        :::
        :::{.content-hidden when-format="revealjs"}

```

The rendered output looks like
```HTML
Test
MODIFIED
Fr 2023-03-03 22:01

My content for HTML

::: :::{.content-visible when-format=“revealjs”}

My content for revealjs

::: :::{.content-hidden when-format=“revealjs”}

My other content for HTML

```

Is this the intended behavior? I've tried some other arbitrary markdown (e.g., **) and have yet to be successful. The [documentation](https://quarto.org/docs/authoring/variables.html#var) leads me to believe that any arbitrary markdown may be used, but that doesn't seem to be the case. Using links as provided in the example in the documentation seems to work, though.

I'm using Windows 10 with the 2022.12.0 Build 353 of RStudio, and the 1.3.208 version of quarto.

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cwickham
2023-03-04T04:10:13Z
longapalooza
documentation enhancement
v1.4
open
_variable.yml variables that contain arbitrary markdown are treated as strings
https://github.com/quarto-dev/quarto-cli/issues/4624