Jump to content

Github now support custom highlight config


horst
 Share

Recommended Posts

To show our *.module files with the correct PHP syntax highlighter is now possible on Github.

With new repos, you first need to add a .gitattributes file to it. After that you can view *.module files with the PHP syntax highlighter applied: MetadataExif.module 

So, this doesn't work with already created / comitted repos by simply adding the .gitattributes file. But it will find its way through different caching layers on github if you add it to your repos and further committs to them. (https://github.com/github/linguist/issues/1792#issuecomment-286379822)

  • Like 8
Link to comment
Share on other sites

  • 5 years later...
  • 3 weeks later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...