epoxy icon indicating copy to clipboard operation
epoxy copied to clipboard

`epoxy_latex()` not rendering LaTeX expression

Open snhansen opened this issue 6 months ago • 3 comments

Consider this Quarto markdown document:

---
format: html
---

```{r}
#| include: false
library(epoxy)
x <- 2
```

```{epoxy_latex}
#| latex_raw: false
A:
$$
2^{10} = <<2^10>>
$$
```

```{epoxy_latex}
#| latex_raw: false
B:
$$
<<x>>^{10} == <<x^10>>
$$
```

```{epoxy_latex}
#| latex_raw: false
C:
$$
1\cdot<<x>>^{10} = <<x^10>>
$$
```

The second chunk (B) isn't rendered in the output. It seems to be caused by starting the chunk with a <<>> because putting something in front of it solves the issue (C).

snhansen avatar Aug 08 '24 11:08 snhansen