Skip to content

A .gitattributes file which makes MarkDown files appear in the Linguist language stats bar

Notifications You must be signed in to change notification settings

yhm-amber/github-linguist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

GitHub Linguist

GitHub uses Linguist, a "language savant" library for detecting languages in a repository and rendering the language statistics bar on the repository page.

Marking for inclusion

I have a lot of MarkDown-only repositories which serve as reference for me and I don't like how in repository lists and in the repository page they show no language bar.

This is possible to fix using .gitattributes:

https://github.com/github/linguist#documentation

*.md linguist-documentation=false linguist-detectable=true

Marking for exclusion

Sometimes the repository may include source code of dependencies or tools which are not to be treated as the source code of the repository itself.

tool/* linguist-vendored

About

A .gitattributes file which makes MarkDown files appear in the Linguist language stats bar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Markdown 100.0%