### Bug description

I just tested the Mermaid and Graphviz examples and Mermaid diagrams aren't rendered when the format is Hugo.

Graphviz diagrams are rendered. Mermaid diagrams are rendered if I chose html as the format.

Here is what I get with Hugo from the Mermaid examples of the documentation:

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

and

```
sequenceDiagram
  participant Alice
  participant Bob
  Alice->>John: Hello John, how are you?
  loop Healthcheck
    John->>John: Fight against hypochondria
  end
  Note right of John: Rational thoughts <br/>prevail!
  John-->>Alice: Great!
  John->>Bob: How about you?
  Bob-->>John: Jolly good!
```

For info, here is my front matter:

```
---
title: Test
execute:
  error: true
format: hugo
---
```

OS: 5.19.12-arch1-1

### 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.
- [ ] 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
2022-10-05T02:28:08Z
prosoitos
bug
v1.2
closed
Mermaid diagrams not rendered with format: hugo
https://github.com/quarto-dev/quarto-cli/issues/2729