ropensci-review-tools / babeldown

Helpers for Automatic Translation of Markdown-based Content
https://docs.ropensci.org/babeldown/
Other
21 stars 2 forks source link

skip $$ $$ and $ $ in qmd for translation #60

Closed xtimbeau closed 7 months ago

xtimbeau commented 8 months ago

It would be great if one could skip equation content from translation bt deepL in quarto qmd as it produces unexpected results.

for instance

$$
E = m \times c^2
$$

is "translated" to $$ E = m times c^2 $$

and $\alpha=1$ is transformed to $\\alpha=1$