Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nu-system/html-validator

Semantic HTML linter in just pure CSS way
https://github.com/nu-system/html-validator

html-lint html-validate html-validator semantic semantic-html

Last synced: 2 days ago
JSON representation

Semantic HTML linter in just pure CSS way

Awesome Lists containing this project

README

        

# html-validator

Semantic HTML linter in just pure CSS way.

## How to start

```
npm i @_nu/html-validator
```

Or just add the tag below in your html page

```HTML

```

If you just wanna use level1 try

```HTML

```

if you wanna ignore any element just add `data-hvi` attr.

## Content

```bash
html-validator/css
├── level1.css // leve1 「 red 」: force validate rules
└── level2.css // leve2 「 yellow 」: level1.css + suggest validate rules
```

All valid msg on css prop of `content`.

## Prior art

html-lint was build on this awesome projects:

* [https://github.com/t7/construct.css](https://github.com/t7/construct.css)