link headers back to TOC

momo's Avatar

momo

08 Oct, 2015 06:23 AM

can I link headers back to the respective TOC line in exporting as html or pdf? Found how to make the TOC work for pdf via wkhtlmltopdf. newbie. thanks!

  1. 1 Posted by momo on 08 Oct, 2015 11:30 AM

    momo's Avatar

    still on mavericks 10.9.5 thus Marked 2.4.11

  2. Support Staff 2 Posted by Brett on 08 Oct, 2015 02:18 PM

    Brett's Avatar

    Not to individual lines, but you could create insert an anchor before
    the TOC. If wkhtmltopdf's links work in the TOC, then any links back to
    that anchor should work as well. Just insert something like this into
    your document:

    <a id="toc">

    Then you can use links like this:

    [text to link](#toc)

    -Brett

  3. 3 Posted by momo on 09 Oct, 2015 08:34 AM

    momo's Avatar

    works, thanks a lot!

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

Generic

? 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