Skip to content

Commit

Permalink
Handlebars: Added Mustache alias (#3422)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Apr 1, 2022
1 parent 4ffab52 commit cb5229a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,10 @@
"handlebars": {
"title": "Handlebars",
"require": "markup-templating",
"alias": "hbs",
"alias": ["hbs", "mustache"],
"aliasTitles": {
"mustache": "Mustache"
},
"owner": "Golmote"
},
"haskell": {
Expand Down
1 change: 1 addition & 0 deletions components/prism-handlebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
});

Prism.languages.hbs = Prism.languages.handlebars;
Prism.languages.mustache = 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
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@
"ld": "linker-script",
"go-mod": "go-module",
"hbs": "handlebars",
"mustache": "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.

0 comments on commit cb5229a

Please sign in to comment.