githubmarkdowngithub-linguist

Syntax highlighting on GitHub's Wiki: Specifying the programming language


GitHub uses something known as the "GitHub Flavored Markdown" for messages, issues and comments. My questions are:


Solution

  • For a list of the possible lexers that github wiki can use see here: http://pygments.org/docs/lexers/

    If you find that a certain lexer is not supported, github recommends forking their code and submitting it via a pull request: https://github.com/blog/774-git-powered-wikis-improved