Toc rendering options in Asciidoctor.js
Posted by
abelsromero on
Jul 25, 2015; 6:27pm
URL: https://discuss.asciidoctor.org/Toc-rendering-options-in-Asciidoctor-js-tp3564.html
Hi,
Related to this conversation (
https://github.com/asciidoctor/atom-asciidoc-preview/issues/99), I’ve been working to ease the configuration of the different toc options. I have a prototype working, but ‘auto’, ‘left’ and ‘right’ options don’t work.
In the issue Dan mentions that there are three possible options (off, preamble and macro), innocently I thought he may had slipped but now I think he didn’t.
I tested those options with asciidoctorj and they work perfectly, so what I missing?
These are the options passed to Asciidoctor.js:
platform=opal platform-opal env=browser env-browser source-highlighter=highlight.js icons=font@ numbered! showtitle compat-mode=@ toc=right toc2!