Skip to content

Repository with Rmd (R Markdown) marked with HTML only #149615

Closed Answered by viniciusvts
kkirpa asked this question in Repositories
Discussion options

You must be logged in to vote

Try to create a .gitattributes file in the root of your repository and add the following line:

*.Rmd linguist-language=R

This will tell GitHub Linguist to treat all .Rmd files as R instead of HTML. After adding this file, commit and push the changes to your repository. GitHub should then update the language statistics to reflect R instead of HTML.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kkirpa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question
2 participants