For example, I use the LaTeX package gensymb in the YAML header for the \degree command to write a degree symbol (row 9).
In the preview of the equation in row 28, the \degree command doesnt properly display the desired symbol in its preview in RStudio.