Your text editor probably doesn't execute the javascript and render the resulting DOM.
Cheers Lex On 13 August 2016 at 13:51, Peter <[email protected]> wrote: > It worked! I was using a text editor to try render it, and was not working > it simply made no difference if I used toc2 or toc, but with the command > line it worked. > > Thanks! > > > On Friday, August 12, 2016 at 8:34:56 PM UTC-3, Lex Trotman wrote: >> >> See http://asciidoc.org/userguide.html#X88 "it is used the same as "toc". >> >> asciidoc --attribute toc2 file.asciidoc >> >> works for me. >> >> On 13 August 2016 at 06:56, Peter <[email protected]> wrote: >> > Hello I'm new to asciidoc and I'm trying to use the toc2, but cant find >> > anywhere how I use it >> > >> > tried everything already and I'm unable to make it work, any link to >> > docs on >> > how to set >> > this up or explanation would be really appreciated. >> > >> > I have searched for this for sometime already, but all I find are >> > mentions >> > on the existence of toc2 >> > and nothing on how to use it. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "asciidoc" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to [email protected]. >> > To post to this group, send email to [email protected]. >> > Visit this group at https://groups.google.com/group/asciidoc. >> > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
