Inline equations not rendered when custom CSS applied to R Markdown
I've run into an issue, using RStudio version 0.96.330 on Ubuntu 12.04.
I've attached a simple R Markdown file which generates a table, followed by an equation. When I "knit HTML" - no problems.
However, if I apply custom CSS as described in the document Customizing Markdown Rendering, the equation is not rendered (i.e. is displayed as text). There's a full description of how I used custom CSS at this blog post.
If I do not use the custom rendering function but instead, simply include the custom CSS as HTML style tags at the top of the R Markdown file, the inline equation is rendered correctly.
This issue does not occur using display equations (the $$...$$ syntax).
- rstudio1.Rmd 174 Bytes
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Josh Paulson on 30 Aug, 2012 10:43 PM
Neil,
Thanks for reporting and I was able to reproduce this as well. I've filed a bug and we'll take a look.
Josh
Support Staff 3 Posted by Josh Paulson on 31 Aug, 2012 02:18 AM
Neil,
Taking a further look, this is actually a bug in the Markdown package and we've asked the maintainer (Jeffrey Horner) to look into it.
Thanks,
Josh
Josh Paulson closed this discussion on 31 Aug, 2012 02:18 AM.