I am experimenting with inline math using the rstudioaddin menu, which to me seems to be standard inline R Markdown math. I'm just running the bookdown-demo, but nothing seems to work.
Here is my code snippet (well, actually YiHui's):
--- title: "A Minimal Book Example" author: "Yihui Xie" date: "`r Sys.Date()`" site: bookdown::bookdown_site output: bookdown::gitbook documentclass: book bibliography: [book.bib, packages.bib] biblio-style: apalike link-citations: yes github-repo: rstudio/bookdown-demo description: "This is a minimal example of using the bookdown package to write a book. The output format for this example is bookdown::gitbook." --- # Prerequisites This is a _sample_ book written in **Markdown**. You can use $E=mc^2$ anything that Pandoc's Markdown supports, e.g., a math equation $a^2 + b^2 = c^2$.
This is what is generated, both with "knitr" and with "render":
This is a sample book written in Markdown . You can use (E=mc^2) anything that Pandoc’s Markdown supports, e.g., a math equation (a^2 + b^2 = c^2).
Everything else in the demo works well. I've similarly put together my own book, and formatting, rendering, citations, everything but the inline math seems to work.
I'd appreciate any suggestions on how I might resolve this. Thanks