FAQ: What's a reproducible example (`reprex`) and how do I do one? will help you get better and quicker answers.
I'm not very Shiny, but I have no problems with well formed LaTeX expressions in rmarkdown generally. So, it may be a syntax problem, but I can't say for sure.