Skip to content

Latest commit

 

History

History

htmx-parser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@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"
  }
}