Login  Register

Re: Generating TOC with asciidoctor

Posted by mojavelinux on Apr 18, 2013; 6:07am
URL: https://discuss.asciidoctor.org/Generating-TOC-with-asciidoctor-tp97p149.html

Yep, the toclevels attribute.

:toclevels: 1

Actually, but default it generates 2 levels (which amounts to the === heading as the document title doesn't count as a toc level).

-Dan


On Wed, Apr 17, 2013 at 11:36 PM, gamussa [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Dan,

Is there any way to specify depth of TOC?
By default, asciidoctor generates 3 (===) levels depth.

Thanks


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Generating-TOC-with-asciidoctor-tp97p148.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://google.com/profiles/dan.j.allen
http://mojavelinux.com
http://mojavelinux.com/seaminaction