Skip to content

epoxy_latex() not rendering LaTeX expression #127

@snhansen

Description

@snhansen

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions