Login  Register

Re: Table of content (:toc: attribute) on github

Posted by mojavelinux on Oct 17, 2013; 6:44pm
URL: https://discuss.asciidoctor.org/Table-of-content-toc-attribute-on-github-tp815p818.html

Btw, to get it to work on GitHub after the upgrade, you'd still need to use the manual toc placement.

[source,asciidoc]
--
= JBoss integration platform BOM
:toc:
:toc-placement!:

toc::[]
--

You can read about the details here: http://asciidoctor.org/docs/user-manual/#manual-placement

Btw, I am starting to wonder whether we should enable the toc even when the header and footer are disabled. This is not the first time this request has come up.

-Dan


On Thu, Oct 17, 2013 at 6:20 AM, ge0ffrey [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Does github support :toc:?

I have this at the top of my .adoc file on github:
= JBoss integration platform BOM
:toc:

but I don't see any table of content (TOC):
  https://github.com/jboss-integration/jboss-integration-platform-bom/blob/master/README.adoc


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Table-of-content-toc-attribute-on-github-tp815.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Dan Allen | http://google.com/profiles/dan.j.allen