Table of Contents in my export

Andrew Nanton's Avatar

Andrew Nanton

20 Oct, 2011 08:39 PM

First, thanks for a great application. I'm trying to figure out how to use the table of contents in my exported HTML. Poking around, it looks like generatedtoc.js needs a

; but where do I put it if I want to exactly replicate the preview functionality.


  1. 1 Posted by Andrew Nanton on 20 Oct, 2011 08:40 PM

    Andrew Nanton's Avatar

    Oops, it edited out my <div id="generated-toc"></div>. Thanks in advance.

  2. Support Staff 2 Posted by Brett on 20 Oct, 2011 08:47 PM

    Brett's Avatar

    Right at the top of the body section, first element. I'm attaching the additional CSS styles you'll need as well.

  3. Support Staff 3 Posted by Brett on 20 Oct, 2011 09:05 PM

    Brett's Avatar

    By the way, the Web Inspector is enabled in the preview, you can right click and choose Inspect Element to take a look at the whole DOM and included scripts.

  4. 4 Posted by Andrew Nanton on 20 Oct, 2011 09:08 PM

    Andrew Nanton's Avatar

    Thanks! I'm getting the navigation overlay, but it's empty. Here's the relevant section:

    <body class="normal">
    <div id="generated-toc"></div>
    <div id="wrapper">

    Am I doing that correctly?

  5. 5 Posted by Andrew Nanton on 20 Oct, 2011 09:09 PM

    Andrew Nanton's Avatar

    Missed your update as I was replying. I'll try that, thanks again.

  6. Support Staff 6 Posted by Brett on 20 Oct, 2011 09:40 PM

    Brett's Avatar

    Let me know if you don't find what you need in the Inspector.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac