Skip to content

Commit

Permalink
Handlebars: Added hbs alias (#2874)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed May 4, 2021
1 parent cda976b commit 4397635
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions components.json
Expand Up @@ -496,6 +496,7 @@
"handlebars": {
"title": "Handlebars",
"require": "markup-templating",
"alias": "hbs",
"owner": "Golmote"
},
"haskell": {
Expand Down
2 changes: 2 additions & 0 deletions components/prism-handlebars.js
Expand Up @@ -34,4 +34,6 @@
Prism.languages['markup-templating'].tokenizePlaceholders(env, 'handlebars');
});

Prism.languages.hbs = Prism.languages.handlebars;

}(Prism));
2 changes: 1 addition & 1 deletion components/prism-handlebars.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions plugins/autoloader/prism-autoloader.js
Expand Up @@ -189,6 +189,7 @@
"xlsx": "excel-formula",
"xls": "excel-formula",
"gamemakerlanguage": "gml",
"hbs": "handlebars",
"hs": "haskell",
"idr": "idris",
"gitignore": "ignore",
Expand Down
2 changes: 1 addition & 1 deletion plugins/autoloader/prism-autoloader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions plugins/show-language/prism-show-language.js
Expand Up @@ -90,6 +90,7 @@
"gedcom": "GEDCOM",
"glsl": "GLSL",
"graphql": "GraphQL",
"hbs": "Handlebars",
"hs": "Haskell",
"hcl": "HCL",
"hlsl": "HLSL",
Expand Down

0 comments on commit 4397635

Please sign in to comment.