Skip to content

Commit 97e7304

Browse files
Fixed some line-breaking.
1 parent c990b76 commit 97e7304

File tree

2 files changed

+84
-26
lines changed

2 files changed

+84
-26
lines changed

README.md

Lines changed: 49 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,32 +37,42 @@ executable provides the following options:
3737
#### --entities
3838

3939
Specifies that the XML parser must not load remote/external entities (such
40-
as DTDs) from the Internet. default: [unset; the XML parser will attempt to
41-
load external entities]
40+
as DTDs) from the Internet.
41+
42+
default: [unset; the XML parser will attempt to load external entities]
4243

4344
#### --format format
4445

45-
Specifies the output format for validation results. default: "gnu" possible
46-
values: "gnu", "xml", "json", "text" see also:
46+
Specifies the output format for validation results.
47+
48+
default: "gnu"
49+
50+
possible values: "gnu", "xml", "json", "text"
51+
52+
see also:
4753
[http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out][4]
4854

4955
[4]: http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out
5056

5157
#### --html
5258

5359
Specifies that all documents must be parsed by the HTML parser as text/html
54-
(otherwise, *.xhtml documents are parsed by the XML parser). default:
55-
[unset; *.xhtml documents are parsed by the XML parser]
60+
(otherwise, *.xhtml documents are parsed by the XML parser).
61+
62+
default: [unset; *.xhtml documents are parsed by the XML parser]
5663

5764
#### --schema URL
5865

5966
Specifies a URL for a known http://s.validator.nu/* schema to use for
60-
document validation. default: http://s.validator.nu/html5-all.rnc
67+
document validation.
68+
69+
default: http://s.validator.nu/html5-all.rnc
6170

6271
#### --verbose
6372

6473
Specifies that the validator output should be "verbose". Currently this just
6574
means that the names of files being validated are written to stdout.
75+
6676
default: [unset; output is not verbose]
6777

6878
#### --version
@@ -128,41 +138,58 @@ parameters documented at
128138
#### nu.validator.client.host
129139

130140
Specifies the hostname of the validator for the client to connect to.
141+
131142
default: "127.0.0.1"
132143

133144
#### nu.validator.client.port
134145

135146
Specifies the hostname of the validator for the client to connect to.
136-
default: "8888" example: java -Dnu.validator.client.port=8080 -jar vnu.jar
137-
FILE.html
147+
148+
default: "8888"
149+
150+
example: java -Dnu.validator.client.port=8080 -jar vnu.jar FILE.html
138151

139152
#### nu.validator.client.level
140153

141154
Specifies the severity level of validation messages to report; to suppress
142155
warning-level messages, and only show error-level ones, set this property to
143-
"error". default: [unset] possible values: "error" example: java
144-
-Dnu.validator.client.level=error -jar vnu.jar FILE.html
156+
"error".
157+
158+
default: [unset]
159+
160+
possible values: "error"
161+
162+
example: java -Dnu.validator.client.level=error -jar vnu.jar FILE.html
145163

146164
#### nu.validator.client.parser
147165

148-
Specifies which parser to use. default: "html"; or, for *.xhtml input
149-
files, "xml" possible values: see
166+
Specifies which parser to use.
167+
168+
default: "html"; or, for *.xhtml input files, "xml"
169+
170+
possible values: see
150171
[http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#parser][10]
151172

152173
[10]: http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#parser
153174

154175
#### nu.validator.client.charset
155176

156-
Specifies the encoding of the input document. default: [unset]
177+
Specifies the encoding of the input document.
178+
179+
default: [unset]
157180

158181
#### nu.validator.client.content-type
159182

160-
Specifies the content-type of the input document. default: "text/html"; or,
161-
for *.xhtml files, "application/xhtml+xml"
183+
Specifies the content-type of the input document.
184+
185+
default: "text/html"; or, for *.xhtml files, "application/xhtml+xml"
162186

163187
#### nu.validator.client.out
164188

165-
Specifies the output format for validation messages. default: "gnu"
189+
Specifies the output format for validation messages.
190+
191+
default: "gnu"
192+
166193
possible values: see
167194
[http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out][11]
168195

@@ -171,8 +198,11 @@ parameters documented at
171198
#### nu.validator.client.asciiquotes
172199

173200
Specifies whether ASCII quotation marks are substituted for Unicode smart
174-
quotation marks in validation messages. default: "yes" possible values:
175-
"yes" or "no"
201+
quotation marks in validation messages.
202+
203+
default: "yes"
204+
205+
possible values: "yes" or "no"
176206

177207
For more information... sources bugz etc.
178208

index.html

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,35 +62,42 @@ <h4 id="html">--entities</h4>
6262
<pre>
6363
Specifies that the XML parser must not load remote/external entities (such
6464
as DTDs) from the Internet.
65+
6566
default: [unset; the XML parser will attempt to load external entities]
6667
</pre>
6768

6869
<h4 id="format">--format <var>format</var></h4>
6970
<pre>
7071
Specifies the output format for validation results.
72+
7173
default: <span class=option-value>"gnu"</span>
74+
7275
possible values: <span class=option-value>"gnu"</span>, <span class=option-value>"xml"</span>, <span class=option-value>"json"</span>, <span class=option-value>"text"</span>
76+
7377
see also: <a href="http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out">http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out</a>
7478
</pre>
7579

7680
<h4 id="html">--html</h4>
7781
<pre>
7882
Specifies that all documents must be parsed by the HTML parser as text/html
7983
(otherwise, *.xhtml documents are parsed by the XML parser).
84+
8085
default: [unset; *.xhtml documents are parsed by the XML parser]
8186
</pre>
8287

8388
<h4 id="schema-url">--schema <var>URL</var></h4>
8489
<pre>
8590
Specifies a URL for a known http://s.validator.nu/* schema to use for
8691
document validation.
92+
8793
default: <span class=option-value>http://s.validator.nu/html5-all.rnc</span>
8894
</pre>
8995

9096
<h4 id="verbose">--verbose</h4>
9197
<pre>
9298
Specifies that the validator output should be "verbose". Currently this
9399
just means that the names of files being validated are written to stdout.
100+
94101
default: [unset; output is not verbose]
95102
</pre>
96103

@@ -173,57 +180,77 @@ <h3 id="http-client-options">HTTP client options</h3>
173180
<h4 id="nuvalidatorclienthost">nu.validator.client.host</h4>
174181
<pre>
175182
Specifies the hostname of the validator for the client to connect to.
183+
176184
default: <span class=option-value>"127.0.0.1"</span>
177185
</pre>
178186

179187

180188
<h4 id="nuvalidatorclientport">nu.validator.client.port</h4>
181189
<pre>
182190
Specifies the hostname of the validator for the client to connect to.
191+
183192
default: <span class=option-value>"8888"</span>
193+
184194
example: java -Dnu.validator.client.port=8080 -jar vnu.jar FILE.html
185195
</pre>
186196

187197

188198
<h4 id="nuvalidatorclientlevel">nu.validator.client.level</h4>
189-
<pre>Specifies the severity level of validation messages to report; to
199+
<pre>
200+
Specifies the severity level of validation messages to report; to
190201
suppress warning-level messages, and only show error-level ones, set
191202
this property to "error".
203+
192204
default: [unset]
205+
193206
possible values: <span class=option-value>"error"</span>
207+
194208
example: java -Dnu.validator.client.level=error -jar vnu.jar FILE.html
195209
</pre>
196210

197211

198212
<h4 id="nuvalidatorclientparser">nu.validator.client.parser</h4>
199-
<pre>Specifies which parser to use.
213+
<pre>
214+
Specifies which parser to use.
215+
200216
default: <span class=option-value>"html"</span>; or, for *.xhtml input files, <span class=option-value>"xml"</span>
217+
201218
possible values: see <a href="http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#parser">http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#parser</a>
202219
</pre>
203220

204221

205222
<h4 id="nuvalidatorclientcharset">nu.validator.client.charset</h4>
206-
<pre>Specifies the encoding of the input document.
223+
<pre>
224+
Specifies the encoding of the input document.
225+
207226
default: [unset]
208227
</pre>
209228

210229

211230
<h4 id="nuvalidatorclientcontent-type">nu.validator.client.content-type</h4>
212-
<pre>Specifies the content-type of the input document.
231+
<pre>
232+
Specifies the content-type of the input document.
233+
213234
default: <span class=option-value>"text/html"</span>; or, for *.xhtml files, <span class=option-value>"application/xhtml+xml"</span>
214235
</pre>
215236

216237

217238
<h4 id="nuvalidatorclientout">nu.validator.client.out</h4>
218-
<pre>Specifies the output format for validation messages.
239+
<pre>
240+
Specifies the output format for validation messages.
241+
219242
default: "gnu"
243+
220244
possible values: see <a href="http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out">http://wiki.whatwg.org/wiki/Validator.nu_Common_Input_Parameters#out</a>
221245
</pre>
222246

223247
<h4 id="nuvalidatorclientasciiquotes">nu.validator.client.asciiquotes</h4>
224-
<pre>Specifies whether ASCII quotation marks are substituted for Unicode
248+
<pre>
249+
Specifies whether ASCII quotation marks are substituted for Unicode
225250
smart quotation marks in validation messages.
251+
226252
default: "yes"
253+
227254
possible values: "yes" or "no"
228255
</pre>
229256

@@ -314,9 +341,10 @@ <h4 id="nuvalidatorclientasciiquotes">nu.validator.client.asciiquotes</h4>
314341
background-color: #F8F8F8;
315342
border: 1px solid #ccc;
316343
border-radius: 3px;
317-
padding: 2px 6px;
344+
padding: 10px;
318345
margin-right: 15%;
319346
margin-top: 6px;
347+
line-height: 1.2
320348
}
321349
.java-class, .java-property, .option-value {
322350
background-color: yellow;

0 commit comments

Comments
 (0)