What you need is the following structure (inside the listing block below):

----
= Document Title
Author Name
:toc: macro

content before the toc

toc::[]

content after the toc
----

Then the toc will show in the preview window.

-Dan

On Wed, Oct 7, 2015 at 9:22 PM, Bhanupriya Pawar <[email protected]>
wrote:

> Hi Dan,
>
> Thank you for your reply!
> Dont know why but TOC is also not working now by the given code and its
> not giving the actual ouput that is shown on site :
>
> = The Dangerous and Thrilling Documentation Chronicles
> Kismet Chameleon
> :toc:
>
> This journey begins on a bleary...
>
> == Cavern Glow
>
> The river rages through the cavern, rattling its content...
>
>
>
> Why? Is this the problem of my ASCIIDOCFX version or something else? Please 
> let me know if this is version problem and kindly provide me the solution.
>
> Note: Dan, Can please check the image i have attached please and let me know 
> the solution!
>
>
>
> On Thu, Oct 8, 2015 at 5:27 AM, Dan Allen <[email protected]> wrote:
>
>> The editor preview windows render embeddable HTML, so this is the section
>> that applies:
>>
>> http://asciidoctor.org/docs/user-manual/#using-a-toc-with-embeddable-html
>>
>> I'll update that section to mention when embeddable HTML should be
>> expected.
>>
>> -Dan
>>
>> On Wed, Oct 7, 2015 at 4:44 AM, Bhanupriya Pawar <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I have a query..Could you please see the code and result i have
>>> attached. Screenshot --> The link you have send and my asciidoc file--> The
>>> code i tried and still nt get the result.
>>> Kindly check both the attchment and give me the proper solution. I want
>>> the exact result that shown on your given link. So I hope you will
>>> definately give me the way to the result. Please tell me where I am going
>>> wrong.
>>> Thank You!
>>>
>>> On Wed, Oct 7, 2015 at 4:01 PM, Dan Allen <[email protected]> wrote:
>>>
>>>> ```
>>>> = Document Title
>>>> :toc: left
>>>>
>>>> content
>>>>
>>>> goes
>>>>
>>>> here
>>>> ```
>>>>
>>>> You can find more information in the Asciidoctor User Manual.
>>>>
>>>> http://asciidoctor.org/docs/user-manual/#user-toc
>>>>
>>>> -Dan
>>>>
>>>> On Wed, Oct 7, 2015 at 4:23 AM, Bhanupriya Pawar <[email protected]>
>>>> wrote:
>>>>
>>>>> Hello Dan,
>>>>> Yeah Groovy documentation is created using Asciidoctor. I am also
>>>>> creating my project documentation in Asciidoctor. So accorting to Lex
>>>>> suggestion I have created TOC so the next step to it I want split window
>>>>> view TOC on left and description on right plus links to the TOC (that you
>>>>> must have seen in groovy doc). Can you please explain with example as Lex
>>>>> has provided?
>>>>>
>>>>> On Wed, Oct 7, 2015 at 3:43 PM, Dan Allen <[email protected]>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> On Wed, Oct 7, 2015 at 3:48 AM, Bhanupriya Pawar <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>> Just to make it clear I am creating a document something like 
>>>>>>> (*http://www.groovy-lang.org/closures.html
>>>>>>> <http://www.groovy-lang.org/closures.html>) *where I can see table
>>>>>>> of contents in left side with links to eact contents and body or the
>>>>>>> details on the right side.
>>>>>>>
>>>>>>
>>>>>> The Groovy documentation is created using Asciidoctor. In
>>>>>> Asciidoctor, you can get a sidebar toc using:
>>>>>>
>>>>>> asciidoctor -a toc=left ...
>>>>>>
>>>>>> (You can also do toc=right)
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> -Dan
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to a topic in
>>>>>> the Google Groups "asciidoc" group.
>>>>>> To unsubscribe from this topic, visit
>>>>>> https://groups.google.com/d/topic/asciidoc/Io3T7aUXpSI/unsubscribe.
>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>> [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> Visit this group at http://groups.google.com/group/asciidoc.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks and Regards,
>>>>> Bhanupriya Pawar
>>>>> M.Tech (Project Management)
>>>>> VJTI, Mumbai
>>>>> +91-8097103932
>>>>>
>>>>> --
>>>>> 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 http://groups.google.com/group/asciidoc.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "asciidoc" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/asciidoc/Io3T7aUXpSI/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/asciidoc.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks and Regards,
>>> Bhanupriya Pawar
>>> M.Tech (Project Management)
>>> VJTI, Mumbai
>>> +91-8097103932
>>>
>>> --
>>> 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 http://groups.google.com/group/asciidoc.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "asciidoc" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/asciidoc/Io3T7aUXpSI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/asciidoc.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Thanks and Regards,
> Bhanupriya Pawar
> M.Tech (Project Management)
> VJTI, Mumbai
> +91-8097103932
>
> --
> 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 http://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.
>



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

-- 
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 http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to