atom-asciidoc-preview
atom-asciidoc-preview copied to clipboard
settings :toclevels: removes the table of contents
Running latest build of atom and latest version of this package on Linux Mint. When I have ""toclevels: 4" set (or set to any number), the preview quits showing the table of contents.
Works for me (Atom 1.31.1 x64). Do you have a syntax error? ":toclevels: 4".
IMPORTANT: after the :toc:
and before the next title tag, it needs some text block. This can be the {empty}
block as below.
Try this snippet. :
= ACME product catalog
{empty}
{docVersion}, {localdate} {localtime}
:date: {buildDate}
:toc:
:toclevels: 3
{empty}
== Introduction
=== Safety instructions
=== Legal Disclaimer
==== Endless Legal Shit
===== You never gonna read this
hello world.
== Products
. product 1
. product 2