embedded R code comments (#) displayed as markdown header #1997

joeledvina opened this Issue Apr 20, 2016 · 0 comments


None yet

1 participant

joeledvina commented Apr 20, 2016 edited

Using Visual Studio to view rmarkdown file (.rmd), web essentials correctly highlights most of the embedded R code except for displaying the comment lines as top-level markdown headers. Both start with a single '#' character.

Here's an example of code displayed using Rmd with embedded R code. The comment lines in the embedded code are displayed in a large font:

and the same example as it displays in a r script file. The comments in the embedded code chunks are an appropriate size:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment