Skip to content

Commit 01c1f1c

Browse files
committed
add rules link
1 parent d539398 commit 01c1f1c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ HTMLHint
55

66
A Static Code Analysis Tool for HTML
77

8-
[![Build Status](https://travis-ci.org/yaniswang/HTMLHint.png?branch=master)](https://travis-ci.org/yaniswang/HTMLHint)
8+
[![Build Status](https://travis-ci.org/yaniswang/HTMLHint.png?branch=master)](https://travis-ci.org/yaniswang/HTMLHint) [![NPM version](https://badge.fury.io/js/htmlhint.png)](http://badge.fury.io/js/htmlhint)
99

1010
jsCoverage: [98%](http://yaniswang.com/HTMLHint/coverage.html)
1111

1212
How to use HTMLHint
1313
=======================
1414

15+
Hint your html code:
16+
17+
HTMLHint.verify(code, rules);
18+
19+
Read more about all rules: [Rules](https://github.com/yaniswang/HTMLHint/wiki/Rules)
20+
1521
1. With nodejs
1622

1723
var HTMLHint = require("htmlhint").HTMLHint;

0 commit comments

Comments
 (0)