Svipur / asciidoc-collapsible-toc

Collapsible Table of Contents for AsciiDoc without external libraries and extensions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsciiDoc Collapsible Table of Contents

Collapsible Table of Contents (TOC) for AsciiDoc without external libraries and extensions. Uses a single docinfo.html file with a few lines of JavaScript and essential custom CSS.

How to use

  1. Place the docinfo.html file in the same folder as your AsciiDoc file.

  2. Add the following attribute to the header of the AsciiDoc file: :docinfo: shared

  3. Use with: :toc: left and :toclevels: > 1

About

Collapsible Table of Contents for AsciiDoc without external libraries and extensions.


Languages

Language:HTML 100.0%