diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2012-09-05 08:17:04 +1200 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2012-09-05 08:17:04 +1200 |
commit | 73776e0f917d5cc82f2cdddda3c935821eea951b (patch) | |
tree | b9fd227466e57bc71a2b07e486465cc21d73593c | |
parent | 2228479ca64775dc7b26a0d245e8bfcf99ad72f9 (diff) | |
download | asciidoc-73776e0f917d5cc82f2cdddda3c935821eea951b.tar.gz |
html4: Added 'hr' attribute to make the inter-section horizontal ruler element
optional.
-rw-r--r-- | doc/asciidoc.txt | 7 | ||||
-rw-r--r-- | html4.conf | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/doc/asciidoc.txt b/doc/asciidoc.txt index c83347e..20e7ccf 100644 --- a/doc/asciidoc.txt +++ b/doc/asciidoc.txt @@ -5885,6 +5885,13 @@ character set encoding to `ISO-8859-1`. :encoding: ISO-8859-1 +|hr |html4 | +Defines the 'html4' inter-section horizontal ruler element. By default +'html4' top level sections are separated by a horizontal ruler +element, undefine this attribute or set it to an empty string if you +do not want them. The default 'html4' backend value for the 'hr' +attribute is `<hr>`. + |[[X45]]icons |xhtml11, html5 | Link admonition paragraph and admonition block icon images and badge images. By default 'icons' is undefined and text is used in place of @@ -11,6 +11,7 @@ outfilesuffix=.html basebackend=html basebackend-html= basebackend-html4= +hr=<hr> [replacements2] # Line break. @@ -416,12 +417,12 @@ cellspacing="0" cellpadding="4"> | [sect0] -{doctype-manpage%}<hr> +{doctype-manpage%}{hr} <h1>{id?<a name="{id}"></a>}{title}</h1> | [sect1] -{doctype-manpage%}<hr> +{doctype-manpage%}{hr} <h2{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2> | @@ -438,7 +439,7 @@ cellspacing="0" cellpadding="4"> | [appendix] -<hr> +{hr} <h2{role? class="{role}"}>{id?<a name="{id}"></a>}{numbered?{sectnum} }{appendix-caption} {counter:appendix-number:A}: {title}</h2> | @@ -498,11 +499,11 @@ vlistterm=<dt><b>|</b></dt> [header] template::[header-declarations] <body> -<hr> +{hr} <h1> {doctitle} Manual Page </h1> -<hr> +{hr} [name] <h2>{manname-title}</h2> |