Hi -

I set up a `_variables.yml` file for a Quarto book project here:
https://github.com/dspatterns/dspatterns-book/blob/main/_variables.yml

I followed the example from the [docs](https://quarto.org/docs/authoring/variables.html) to format my markdown links:
```
version: 1.2

email:
  info: info@example.com
  support: support@example.com

engine:
  jupyter: "[Jupyter](https://jupyter.org)"
  knitr: "[Knitr](<https://yihui.name/knitr>)"
```

This works-ish: the self-contained markdown formatted links always render perfectly on the first use of the variable in a given `.qmd`. The problem is using that variable again in the same `.qmd`: it looks like it doesn't parse correctly. I tried this by switching out several different variables and this was always true: the first works, any other uses of the same variable in the same `.qmd` are gobbledy-gook. Here is a good example using `{{< var gha.docs >}}` and `{{< var web.host >}}` 2x each:

```
The combination of Link ("",[],[]) [Str "GitHub",Space,Str "Actions",Space,Str "(GHA)"] ("https://github.com/features/actions","") and Link ("",[],[]) [Str "Netlify"] ("https://www.netlify.com","") means that the book is automatically updated after every commit to the main branch on GitHub.
```

Source:
https://github.com/dspatterns/dspatterns-book/blob/main/onboarding/book.qmd

You can see what happens here:
https://dspatterns.netlify.app/onboarding/book.html
cscheid
2023-03-10T21:56:51Z
apreshill
bug
v1.3
closed
Error using _variables.yml with self-contained markdown formatting
https://github.com/quarto-dev/quarto-cli/issues/4758