According to the [docs](https://quarto.org/docs/output-formats/hugo.html#webtex-math) rendering the TeX below to WebTex

```
$x + 1$
```

is supposed to yield:

```
![](https://latex.codecogs.com/svg.latex?x%20%2B%201)
```

Using the latest version of quarto-cli (0.9.21) I cannot reproduce this. Instead I get the following:

```
![x + 1](https://latex.codecogs.com/svg.latex?x%20%2B%201 "x + 1")
```

The actual Tex `x + 1` is rendered as a caption. I've added a minimum working example to this [repo](https://github.com/pat-alt/quarto-example).

Thanks!
2022-02-17T12:15:26Z
pat-alt
closed
WebTex not working as expected
https://github.com/quarto-dev/quarto-cli/issues/346