Skip to content

Commit 4397635

Browse files
Handlebars: Added hbs alias (#2874)
1 parent cda976b commit 4397635

File tree

8 files changed

+9
-4
lines changed

8 files changed

+9
-4
lines changed

components.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@
496496
"handlebars": {
497497
"title": "Handlebars",
498498
"require": "markup-templating",
499+
"alias": "hbs",
499500
"owner": "Golmote"
500501
},
501502
"haskell": {

components/prism-handlebars.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,6 @@
3434
Prism.languages['markup-templating'].tokenizePlaceholders(env, 'handlebars');
3535
});
3636

37+
Prism.languages.hbs = Prism.languages.handlebars;
38+
3739
}(Prism));

components/prism-handlebars.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/autoloader/prism-autoloader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@
189189
"xlsx": "excel-formula",
190190
"xls": "excel-formula",
191191
"gamemakerlanguage": "gml",
192+
"hbs": "handlebars",
192193
"hs": "haskell",
193194
"idr": "idris",
194195
"gitignore": "ignore",

plugins/autoloader/prism-autoloader.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/show-language/prism-show-language.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"gedcom": "GEDCOM",
9191
"glsl": "GLSL",
9292
"graphql": "GraphQL",
93+
"hbs": "Handlebars",
9394
"hs": "Haskell",
9495
"hcl": "HCL",
9596
"hlsl": "HLSL",

0 commit comments

Comments
 (0)