I recently start using Quarto and R markdown intensively to write some latex math equations.
However, I found that in both qmd and rmd doc, R studio does not highlight any latex code in the math environment. This makes it hard to write multiple equations in the same $$...$$ environment.
So is there any workaround to adjust this setting in R studio ?
My friend using Quarto in VScode has no this problem (he has syntax highlight for everything).
For example, in the below screenshot, you can see that there is no any latex syntax highlight/coloring inside $$...$$.
If I move then out of the $$...$$, at least they have some coloring (but this is useless).
Thank you for reading my question.
Any help would be appreciated !