### Bug description

Hello,

Í'm using:
- Latest version of R (4.2.2)
- Latest version of Rstudio  (2022.12.0 Build 353)
- Latest Quarto (version 1.2.335)
- Windows 10 Enterprise 22H2

When rendering a PDF from a .QMD-file containing a Mermaid diagram [(https://quarto.org/docs/authoring/diagrams.html)](https://quarto.org/docs/authoring/diagrams.html), my Rstudio gives the error "ERROR: No inspectable targets" and crashes (I'm unable to press stop).
In the past the same .QMD file rendered to PDF without any problem. Rendering to .HTML still works. The same error was recently reported by an Obsidian user: [https://forum.obsidian.md/t/about-quarto-no-inspectable-targets-error/54757](https://forum.obsidian.md/t/about-quarto-no-inspectable-targets-error/54757).

The .QMD-file i'm using can be found in the attached .ZIP (Github doesn't allow uploading QMD's directly, therefore I zipped).

Thanks for the good work!

Best,
Thomas


[testdia.zip](https://github.com/quarto-dev/quarto-cli/files/10902790/testdia.zip)


### 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.
cscheid
2023-03-06T21:13:20Z
streepvaren
bug windows mermaid
v1.3
closed
ERROR: "No inspectable targets"-error when rendering PDF containing Mermaid diagram
https://github.com/quarto-dev/quarto-cli/issues/4653