Heading 7+ not handled?

Posted by rwinch on
URL: https://discuss.asciidoctor.org/Heading-7-not-handled-tp710.html

I get into instances where I would like to use headings of 7 and possibly higher. However, when I use heading of 7 or
higher with html5 asciidoctor renders the markup. For example, the following:

======= 7.a
asdf

renders as a paragraph:

<div class="paragraph">
<p>======= 7.a
asdf</p>
</div>

I understand that html doesn't have a h7, but it would be nice if asciidoctor either:

* Handled it gracefully (i.e. making it bold and ensuring to add an anchor id next to it). I think I would prefer something
like this since we shouldn't really be aware of our backend we are writing for.
* Failed with an error message

Any thoughts on this? Is it a bug...a missing configuration setting?

Thanks!
Rob Winch

PS: Below is a full valid document is below to make testing easier:

= 1

asdf

== 2.a

asdf

=== 3.a
asdf

==== 4.a
asdf

===== 5.a
asdf

====== 6.a
asdf

======= 7.a
asdf

======= 7.b
asdf

====== 6.b
asdf

===== 5.b
asdf

==== 4.b
asdf

=== 3.b
asdf

== 2.b
asdf