Skip to content

Commit

Permalink
EJS: Added eta alias (#2282)
Browse files Browse the repository at this point in the history
  • Loading branch information
nebrelbug committed Apr 4, 2020
1 parent fd432a5 commit 0cfb6c5
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion components.json
Expand Up @@ -291,7 +291,11 @@
"ejs": {
"title": "EJS",
"require": ["javascript", "markup-templating"],
"owner": "RunDevelopment"
"owner": "RunDevelopment",
"alias": "eta",
"aliasTitles": {
"eta": "Eta"
}
},
"elixir": {
"title": "Elixir",
Expand Down
2 changes: 2 additions & 0 deletions components/prism-ejs.js
Expand Up @@ -21,4 +21,6 @@
Prism.languages['markup-templating'].tokenizePlaceholders(env, 'ejs');
});

Prism.languages.eta = Prism.languages.ejs;

}(Prism));
2 changes: 1 addition & 1 deletion components/prism-ejs.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 @@ -155,6 +155,7 @@
"jinja2": "django",
"dns-zone": "dns-zone-file",
"dockerfile": "docker",
"eta": "ejs",
"xlsx": "excel-formula",
"xls": "excel-formula",
"gamemakerlanguage": "gml",
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 @@ -57,6 +57,7 @@
"dockerfile": "Docker",
"ebnf": "Extended Backus–Naur form",
"ejs": "EJS",
"eta": "EJS",
"etlua": "Embedded Lua templating",
"erb": "ERB",
"excel-formula": "Excel Formula",
Expand Down
2 changes: 1 addition & 1 deletion plugins/show-language/prism-show-language.min.js

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

0 comments on commit 0cfb6c5

Please sign in to comment.