@markuplint/ejs-parser

4.6.19 • Public • Published

@markuplint/ejs-parser

npm version

Use markuplint with EJS.

Install

$ npm install -D @markuplint/ejs-parser

$ yarn add -D @markuplint/ejs-parser

Usage

Add parser option to your configuration.

{
  "parser": {
    ".ejs$": "@markuplint/ejs-parser"
  }
}

⚠️ Unsupported syntaxes

It's not able to support syntaxes if one's attribute is complex.

✅ Available codes

<div attr="<%= value %>"></div>
<div attr='<%= value %>'></div>
<div attr="<%= value %>-<%= value2 %>-<%= value3 %>"></div>

❌ Unavailable codes

If it doesn't nest by quotations.

<div attr=<%= value %>></div>

Readme

Keywords

none

Package Sidebar

Install

npm i @markuplint/ejs-parser

Weekly Downloads

139

Version

4.6.19

License

MIT

Unpacked Size

8.32 kB

Total Files

8

Last publish

Collaborators

  • yusukehirao