Skip to content

Commit 4ea7aaa

Browse files
Add link to grunt-html + minor wording changes.
1 parent 06d26d4 commit 4ea7aaa

3 files changed

Lines changed: 20 additions & 9 deletions

File tree

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
# How to use the vnu.jar markup checker
22

33
The `vnu.jar` application is a portable standalone version of the validator.nu
4-
markup checker. The [latest version][1] is available from the `validator`
5-
project at github. The following are instructions on how to use it to check the
6-
markup of documents.
4+
markup checker. The [latest vnu.jar release][1] is available from the
5+
`validator` project at github. The following are instructions on how to use it
6+
to check the markup of documents.
77

88
[1]: https://github.com/validator/validator.github.io/releases
99

1010
**Note:** In the instructions, replace _"~/vnu.jar"_ with the actual path to the
1111
`vnu.jar` file on your system.
1212

13+
Alternatively, there’s also now a [Grunt plugin for HTML validation][2] that
14+
uses `vnu.jar` as its backend. You can install that plugin with `npm install
15+
grunt-html --save-dev`.
16+
17+
[2]: https://github.com/jzaefferer/grunt-html
18+
1319
## Usage
1420

1521
You can use the `vnu.jar` markup checker as an executable for command-line
@@ -67,9 +73,9 @@ executable provides the following options:
6773
possible values: "gnu", "xml", "json", "text"
6874

6975
see also:
70-
[http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out][2]
76+
[http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out][3]
7177

72-
[2]: http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out
78+
[3]: http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out
7379

7480
#### --help
7581

@@ -110,7 +116,7 @@ executable provides the following options:
110116

111117
For details on using the `vnu.jar` markup checker to provide a service for
112118
browser-based checking of HTML documents over the Web, see [Using vnu.jar for
113-
Web-based markup checking][3].
119+
Web-based markup checking][4].
114120

115-
[3]: http://validator.github.io/service.html
121+
[4]: http://validator.github.io/service.html
116122

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h1>How to use the vnu.jar markup checker</h1>
66
<p>The <code>vnu.jar</code> application is a portable standalone
77
version of the validator.nu markup checker. The
88
<a href="https://github.com/validator/validator.github.io/releases"
9-
>latest version</a>
9+
>latest vnu.jar release</a>
1010
is available from the <code>validator</code> project at github.
1111
The following are instructions on how to use it to check the markup of
1212
documents.
@@ -15,6 +15,11 @@ <h1>How to use the vnu.jar markup checker</h1>
1515
<var>"~/vnu.jar"</var> with the actual path to the <code>vnu.jar</code>
1616
file on your system.
1717

18+
<p>Alternatively, there’s also now a
19+
<a href="https://github.com/jzaefferer/grunt-html">Grunt plugin for HTML validation</a>
20+
that uses <code>vnu.jar</code> as its backend. You can install that plugin
21+
with <code>npm install grunt-html --save-dev</code>.
22+
1823
<p class=links>
1924
<a href="#usage">Usage</a> ·
2025
<a href="#options">Options</a>

service.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h1>Using vnu.jar for Web-based markup checking</h1>
66
<p>The <code>vnu.jar</code> application is a portable standalone
77
version of the validator.nu markup checker. The
88
<a href="https://github.com/validator/validator.github.io/releases"
9-
>latest version</a>
9+
>latest vnu.jar release</a>
1010
is available from the <code>validator</code> project at github.
1111
The following are instructions on how to use it to provide a
1212
service for browser-based checking of HTML documents over the Web.

0 commit comments

Comments
 (0)