clocpending PR https://github.com/AlDanial/cloc/pull/294) that adds support for R Markdown (Rmd) files. Only the lines of code between the triple-backticks code blocks are included. THe resultant “language” type is
Rmdas the code blocks could be anything. The results will only be fully accurate for R/Python-ish syntax languages (i.e. the ones supporting the basic
clocrules for those languages) but they should be accurate enough for rough estimates for other languages used in Rmd code blocks.