r - How to export syntax highlighted RMarkdown code to PDF? -


for thesis, attach code (not output) of .rmd document, ideally pretty syntax highlighting rstudio does.

is there way export highlighted rmarkdown code file, ideally pdf?

i check out.

http://rmarkdown.rstudio.com/pdf_document_format.html#appearance_and_style

i think should simple

--- title: "habits" output:   pdf_document:     highlight: tango --- 

Comments

Popular posts from this blog

python - Error: Unresolved reference 'selenium' What is the reason? -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -