Re: Adding Words to Title Causes Errors
Posted by Jon Forrest on Dec 05, 2018; 7:59pm
URL: https://discuss.asciidoctor.org/Adding-Words-to-Title-Causes-Errors-tp6627p6636.html
On 12/5/2018 11:48 AM, mojavelinux [via Asciidoctor :: Discussion] wrote:
> Abel correctly pointed out that the title text and the underline must be
> the same length.
Yep. I never would have guessed. I made the change and everything
is working fine now.
> Usually, I would advocate for changing it to an ATX (single-line)
> section heading as Abel suggested. But I think there is a good reason
> why this book uses the underline style. That's an implicit way to enable
> compatibility mode. If that's the case, then you don't want to change
> anyway it as it could break other syntax.
Absolutely, and the last thing I wanted to do was to get involved with
asciidoc syntax.
> Just make sure the two lines are the same length and you'll be all good!
Yep again. All is well.
Thanks for your help.
Jon