Skip to content

Commit cb5229a

Browse files
Handlebars: Added Mustache alias (#3422)
1 parent 4ffab52 commit cb5229a

File tree

6 files changed

+9
-4
lines changed

6 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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,10 @@
573573
"handlebars": {
574574
"title": "Handlebars",
575575
"require": "markup-templating",
576-
"alias": "hbs",
576+
"alias": ["hbs", "mustache"],
577+
"aliasTitles": {
578+
"mustache": "Mustache"
579+
},
577580
"owner": "Golmote"
578581
},
579582
"haskell": {

components/prism-handlebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@
3535
});
3636

3737
Prism.languages.hbs = Prism.languages.handlebars;
38+
Prism.languages.mustache = Prism.languages.handlebars;
3839

3940
}(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
@@ -209,6 +209,7 @@
209209
"ld": "linker-script",
210210
"go-mod": "go-module",
211211
"hbs": "handlebars",
212+
"mustache": "handlebars",
212213
"hs": "haskell",
213214
"idr": "idris",
214215
"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.

0 commit comments

Comments
 (0)