table of content in html export
Hi
how can i have the table of content at the top when i save in html?
thanks best regards
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
Support Staff 1 Posted by Brett on 01 May, 2012 05:42 PM
There is no way to do this automatically with the current implementation. The HTML output is generated at the time of export and the javascript used to create the TOC is not included. The easiest way, for the time being, is to build your own using MultiMarkdown cross-references.
2 Posted by Dan Rosenstark on 05 Nov, 2012 04:04 PM
Can you give hints (or a link to hints) as to how to do this manually, please?
Support Staff 3 Posted by Brett on 05 Nov, 2012 04:37 PM
To get the current html, bring up the TOC in the preview by hitting ⌘T, and then right click on the edge of it and choose "Inspect Element". That will jump you to the element in the Web Inspector, where you can right click and "Copy as HTML". Then paste that into a new document and style as you'd like to see it. This is assuming that you're concerns are with the styling of the TOC, not the generation of it. If you have other concerns, please detail them.
4 Posted by Dan Rosenstark on 05 Nov, 2012 04:42 PM
Thanks, that works fine. I also just noticed that there are solutions I can use later in my workflow, like: https://github.com/dcneiner/TableOfContents
MarkedApp is amazing, like nvAlt... thanks Brett!