Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aayushchugh/ejs-language-snippets-and-color-highlighting-vscode
VS Code extension for ejs tempting engine for node js
https://github.com/aayushchugh/ejs-language-snippets-and-color-highlighting-vscode
ejs intellisense snippets vscode
Last synced: 17 days ago
JSON representation
VS Code extension for ejs tempting engine for node js
- Host: GitHub
- URL: https://github.com/aayushchugh/ejs-language-snippets-and-color-highlighting-vscode
- Owner: aayushchugh
- Created: 2021-06-07T13:14:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-01T07:51:49.000Z (over 3 years ago)
- Last Synced: 2024-11-29T16:12:54.685Z (3 months ago)
- Topics: ejs, intellisense, snippets, vscode
- Homepage:
- Size: 3.28 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# EJS Snippets And Color Highlighting
### NOTICE: If you are not seeing any style, set your file associations for "\*.ejs" to html
Add snippets for Ejs and some colors for better visualization
Please rate this and provide feedback It helps me know what I need to improve.
If there is anything that I missed or features you would like this to include. [Let me know](https://github.com/Ayush-Chugh-2006/ejs-language-snippets-and-color-highlighting-vscode/issues)
## Features
**_If snippets do not show up, add the following to your settings file_**
```json
"emmet.includeLanguages": {
"ejs": "html",
},
```**Snippets are found below.**
| Snippet | Output |
| ----------- | -------------------------------------------- |
| `ejs` | `<% %>` - No output tag |
| `ejsout` | `<%= %>` - Outputs HTML value |
| `ejsesc` | `<%- %>` - Outputs unescaped |
| `ejscom` | `<%# %>` - Comment tag |
| `ejslit` | `<%% %>` - Outputs Literal <% |
| `ejsinc` | `include` statement |
| `ejsfor` | `for` Javascript Loop |
| `ejseach` | `forEach` Javascript Loop |
| `ejsforof` | `forOf` Javascript Loop |
| `ejsforin` | `forIn` Javascript Loop |
| `ejsif` | `if` Statement with condition |
| `ejsifelse` | `if else` Statement with condition |
| `ejster` | `tertiary operator` Statement with condition |#
![Video](./assets/recording.gif)
## EJS docs
If you need documention on how to use EJS:
[EJS Github](https://github.com/mde/ejs)
[EJS Website](https://ejs.co/)## For contribution just do what you want to do and create a pull request