npm.io
4.18.3 • Published 5 months ago

@markuplint/htmx-parser

Licence
MIT
Version
4.18.3
Deps
1
Size
27 kB
Vulns
0
Weekly
0
Stars
624

@markuplint/htmx-parser

npm version

Use markuplint with HTMX. Add HTMX specific elements and attributes to the schema.

Install

$ npm install -D @markuplint/htmx-parser

$ yarn add -D @markuplint/htmx-parser

Usage

Add parser and spec option to your configuration.

{
  "parser": {
    "\\.html$": "@markuplint/htmx-parser"
  },
  "specs": {
    "\\.html$": "@markuplint/htmx-parser/spec"
  }
}