Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown language is not detected #3964

Closed
dialex opened this issue Dec 30, 2017 · 2 comments
Closed

Markdown language is not detected #3964

dialex opened this issue Dec 30, 2017 · 2 comments

Comments

@dialex
Copy link

dialex commented Dec 30, 2017

Most of my repo is composed of Markdown (.md) files. However my repo does not display any language, as you can see at https://github.com/dialex/start-testing.

It should display 100% Markdown, or at least more than 90%.

@dialex dialex changed the title Markdown language is not being detected Markdown language is not detected (which is my repo's main lang) Dec 30, 2017
@dialex dialex changed the title Markdown language is not detected (which is my repo's main lang) Markdown language is not detected Dec 30, 2017
@lildude
Copy link
Member

lildude commented Jan 1, 2018

This is correct and expected behaviour as documented in several places in the README:

Linguist starts by going through all the files in a repository and excludes all files that it determines to be binary data, vendored code, generated code, documentation, or are defined as data (e.g. SQL) or prose (e.g. Markdown) languages, whilst taking into account any overrides.

Markdown isn't a programming language so it makes sense for it to be excluded from the stats. That said, you will be able to override this in future when #3807 is merged.

@lildude lildude closed this as completed Jan 1, 2018
@0xdevalias
Copy link

In case you end up here from google (like I just did), this article is a good overview of how to solve this: https://joshuatz.com/posts/2019/how-to-get-github-to-recognize-a-pure-markdown-repo/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants