The `qmd` file cannot be rendered to `docx` or `pdf` files if it contains mermaid or dot images, although it works for `html` files. If I run
```
quarto preview test.qmd --to docx --no-browser --no-watch-inputs
```
on quarto 1.3.75, it pops up an error message:
```
ERROR: Internal error: temporarily disabled until deno 1.28.* gets puppeteer support
```
If I run it on quarto 1.2.269, it doesn't show or output anything but keeps running the command forever.

I tested this on both Windows 10 and 11.

A minimal reproducible for the `qmd` file can be:

<pre>
---
title: "test"
format: docx
---

## Quarto

```{mermaid}
flowchart LR
  A[Hard edge] --> B(Round edge)
  B --> C{Decision}
  C --> D[Result one]
  C --> E[Result two]
```
</pre>

Everything will work if the mermaid images are removed or the file is rendered to html. Upgrading deno doesn't help.


cscheid
2022-12-31T03:24:03Z
Jiayou-Chao
mermaid puppeteer
v1.3
closed
Quarto cannot render mermaid or dot images to docx and pdf formats
https://github.com/quarto-dev/quarto-cli/issues/3809