List new options on the index page.
This commit is contained in:
parent
ddb5702a08
commit
4ff3234431
13
index.html
13
index.html
|
@ -367,6 +367,18 @@ new-blocklevel-tags: cfoutput, cfquery
|
||||||
new-empty-tags: cfelse
|
new-empty-tags: cfelse
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
<h2 id="new-config">New configuration options</h2>
|
||||||
|
<p>The experimental HTML5-aware fork of Tidy adds the following new
|
||||||
|
configuration options:
|
||||||
|
<ul>
|
||||||
|
<li><a href="http://w3c.github.com/tidy-html5/quickref.html#coerce-endtags">coerce-endtags</a>
|
||||||
|
<li><a href="http://w3c.github.com/tidy-html5/quickref.html#drop-empty-elements">drop-empty-elements</a>
|
||||||
|
<li><a href="http://w3c.github.com/tidy-html5/quickref.html#merge-emphasis">merge-emphasis</a>
|
||||||
|
</ul>
|
||||||
|
<p>In addition, it also adds a new <code>html5</code> value for the
|
||||||
|
<a href="http://w3c.github.com/tidy-html5/quickref.html#doctype">doctype</a>
|
||||||
|
configuration option.
|
||||||
|
|
||||||
<h2 id=indenting>Indenting output for readability</h2>
|
<h2 id=indenting>Indenting output for readability</h2>
|
||||||
<p>Indenting the source markup of an HTML document makes the markup easier
|
<p>Indenting the source markup of an HTML document makes the markup easier
|
||||||
to read. Tidy can indent the markup for an HTML document while recognizing
|
to read. Tidy can indent the markup for an HTML document while recognizing
|
||||||
|
@ -566,6 +578,7 @@ original version of Tidy.
|
||||||
<li><a href="#options">Options and configuration settings</a>
|
<li><a href="#options">Options and configuration settings</a>
|
||||||
<li><a href="#config">Using a config file</a>
|
<li><a href="#config">Using a config file</a>
|
||||||
<li><a href="#sample-config">Sample config file</a>
|
<li><a href="#sample-config">Sample config file</a>
|
||||||
|
<li><a href="#new-config">New configuration options</a>
|
||||||
<li><a href="#indenting">Indenting output for readability</a>
|
<li><a href="#indenting">Indenting output for readability</a>
|
||||||
<li><a href="#preserve-indenting">Preserving original indenting not possible</a>
|
<li><a href="#preserve-indenting">Preserving original indenting not possible</a>
|
||||||
<li><a href="#encodings">Encodings and character references</a>
|
<li><a href="#encodings">Encodings and character references</a>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<body>
|
<body>
|
||||||
<h1 id="top">Quick Reference</h1>
|
<h1 id="top">Quick Reference</h1>
|
||||||
<h2>HTML Tidy Configuration Options</h2>
|
<h2>HTML Tidy Configuration Options</h2>
|
||||||
<p>Version: <a href="https://github.com/w3c/tidy-html5/tree/3a9a794">https://github.com/w3c/tidy-html5/tree/3a9a794</a></p>
|
<p>Version: <a href="https://github.com/w3c/tidy-html5/tree/3ed33a1">https://github.com/w3c/tidy-html5/tree/3ed33a1</a></p>
|
||||||
<p>
|
<p>
|
||||||
<a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a>
|
<a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a>
|
||||||
<br />
|
<br />
|
||||||
|
@ -943,7 +943,7 @@
|
||||||
<td align="right" valign="top"></td>
|
<td align="right" valign="top"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">This option specifies the DOCTYPE declaration generated by Tidy. If set to "omit" the output won't contain a DOCTYPE declaration. If set to "html5" the DOCTYPE is set to "<!DOCTYPE html>". If set to "auto" (the default) Tidy will use an educated guess based upon the contents of the document. If set to "strict", Tidy will set the DOCTYPE to the strict DTD. If set to "loose", the DOCTYPE is set to the loose (transitional) DTD. Alternatively, you can supply a string for the formal public identifier (FPI).<br /><br />For example: <br />doctype: "-//ACME//DTD HTML 3.14159//EN"<br /><br />If you specify the FPI for an XHTML document, Tidy will set the system identifier to an empty string. For an HTML document, Tidy adds a system identifier only if one was already present in order to preserve the processing mode of some browsers. Tidy leaves the DOCTYPE for generic XML documents unchanged. <code>--doctype omit</code> implies <code>--numeric-entities yes</code>. This option does not offer a validation of the document conformance. </td>
|
<td colspan="2">This option specifies the DOCTYPE declaration generated by Tidy.<br />If set to "omit" the output won't contain a DOCTYPE declaration.<br />If set to "html5" the DOCTYPE is set to "<!DOCTYPE html>".<br />If set to "auto" (the default) Tidy will use an educated guess based upon the contents of the document.<br />If set to "strict", Tidy will set the DOCTYPE to the HTML4 or XHTML1 strict DTD.<br />If set to "loose", the DOCTYPE is set to the HTML4 or XHTML1 loose (transitional) DTD. <br />Alternatively, you can supply a string for the formal public identifier (FPI).<br /><br />For example: <br />doctype: "-//ACME//DTD HTML 3.14159//EN"<br /><br />If you specify the FPI for an XHTML document, Tidy will set the system identifier to an empty string. For an HTML document, Tidy adds a system identifier only if one was already present in order to preserve the processing mode of some browsers. Tidy leaves the DOCTYPE for generic XML documents unchanged. <code>--doctype omit</code> implies <code>--numeric-entities yes</code>. This option does not offer a validation of the document conformance. </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
|
|
|
@ -406,14 +406,17 @@ static const TidyOptionDoc option_docs[] =
|
||||||
, TidyMakeCleanTagsLinks
|
, TidyMakeCleanTagsLinks
|
||||||
},
|
},
|
||||||
{TidyDoctype,
|
{TidyDoctype,
|
||||||
"This option specifies the DOCTYPE declaration generated by Tidy. If set "
|
"This option specifies the DOCTYPE declaration generated by Tidy.<br />"
|
||||||
"to \"omit\" the output won't contain a DOCTYPE declaration. If set to "
|
"If set to \"omit\" the output won't contain a DOCTYPE declaration.<br />"
|
||||||
"\"html5\" the DOCTYPE is set to \"<!DOCTYPE html>\". If set to "
|
"If set to \"html5\" the DOCTYPE is set to \"<!DOCTYPE html>\".<br />"
|
||||||
"\"auto\" (the default) Tidy will use an educated guess based upon the "
|
"If set to \"auto\" (the default) Tidy will use an educated guess based "
|
||||||
"contents of the document. If set to \"strict\", Tidy will set the DOCTYPE "
|
"upon the contents of the document.<br />"
|
||||||
"to the strict DTD. If set to \"loose\", the DOCTYPE is set to the loose "
|
"If set to \"strict\", Tidy will set the DOCTYPE to the HTML4 or XHTML1 "
|
||||||
"(transitional) DTD. Alternatively, you can supply a string for the formal "
|
"strict DTD.<br />"
|
||||||
"public identifier (FPI).<br />"
|
"If set to \"loose\", the DOCTYPE is set to the HTML4 or XHTML1 loose "
|
||||||
|
"(transitional) DTD. <br />"
|
||||||
|
"Alternatively, you can supply a string for the formal public identifier "
|
||||||
|
"(FPI).<br />"
|
||||||
"<br />"
|
"<br />"
|
||||||
"For example: <br />"
|
"For example: <br />"
|
||||||
"doctype: \"-//ACME//DTD HTML 3.14159//EN\"<br />"
|
"doctype: \"-//ACME//DTD HTML 3.14159//EN\"<br />"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/3ed33a1";
|
static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/ddb5702";
|
Loading…
Reference in a new issue