Linguist: Jade has renamed itself to Pug

Created on 18 Apr 2016  路  5Comments  路  Source: github/linguist

... and with the name change file extension detection should now be changed from .jade to .pug.

See pugjs/pug#2184.

Language Rename

Most helpful comment

.jade should also be highlighted meanwhile, because there's plenty of templates on github that are in .jade. so .pug should be added in the file detection. Suggestion

All 5 comments

.jade should also be highlighted meanwhile, because there's plenty of templates on github that are in .jade. so .pug should be added in the file detection. Suggestion

.pug should be added in the file detection.

We'd welcome a pull request with this change.

@arfon This issue can be closed now. =)

:smile:

I'm finding that after converting an Express-generated Node.js app from jade to pug, suddenly github is incorrectly shifting the project from being a JavaScript-type to an HTML.

As a workaround, I added a .gitattributes file to my project and it seems to correctly shift things back to JavaScript.

node_modules/* liguist-vendored
README.md linguist-documentation
views/*.pug linguist-documentation
LICENSE linguist-documtation
package.json linguist-documentation
Was this page helpful?
0 / 5 - 0 ratings

Related issues

haskellcamargo picture haskellcamargo  路  3Comments

oliviertassinari picture oliviertassinari  路  5Comments

GabLeRoux picture GabLeRoux  路  6Comments

henrywright picture henrywright  路  6Comments

arfon picture arfon  路  6Comments