Highlighting python code in R presentation

I am using RPubs to post multiple multiple choice questions about Python programming.

In the .Rmd file, I get Python code when valid Python code is placed inside three back ticks.

I am trying to get the same highlighting in the .Rpres file (since I am posting to RPubs) The code I am using is the same as in the .Rmd file

+3


source to share





All Articles