Skip to content

Instantly share code, notes, and snippets.

@ChristoWolf
Last active March 3, 2023 16:18
Show Gist options
  • Select an option

  • Save ChristoWolf/173dc1b82de4f45f8bbe9b024245df87 to your computer and use it in GitHub Desktop.

Select an option

Save ChristoWolf/173dc1b82de4f45f8bbe9b024245df87 to your computer and use it in GitHub Desktop.
Git attributes enabling Markdown language detection on GitHub
# Markdown
*.md linguist-vendored=false
*.md linguist-generated=false
*.md linguist-documentation=false
*.md linguist-detectable=true
# YAML
*.y*ml linguist-vendored=false
*.y*ml linguist-generated=false
*.y*ml linguist-documentation=false
*.y*ml linguist-detectable=true
@brunoro7
Copy link

brunoro7 commented Nov 6, 2022

Hey man, thanks for the public Gist, with this, i can fix my problem!

@ChristoWolf
Copy link
Author

ChristoWolf commented Nov 6, 2022

Happy that you found it useful, @brunoro7!

@ChristoWolf
Copy link
Author

ChristoWolf commented Feb 14, 2023

TODO: Add YAML detection and docstring for overrides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment