Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'eta' alias to EJS #2282

Merged
merged 2 commits into from Apr 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion components.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion components.json
Expand Up @@ -291,7 +291,8 @@
"ejs": {
"title": "EJS",
"require": ["javascript", "markup-templating"],
"owner": "RunDevelopment"
"owner": "RunDevelopment",
"alias": "eta"
nebrelbug marked this conversation as resolved.
Show resolved Hide resolved
},
"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",
RunDevelopment marked this conversation as resolved.
Show resolved Hide resolved
"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.