Generate TOC when exporting to HTML/PDF
See original GitHub issueA new feature:TOC
If there is a way to generator TOC automatically. Or, I just type [toc]
in the first line,it will turn to A catalog and update while content is changing.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:25 (6 by maintainers)
Top Results From Across the Web
HTML to PDF adding a table of contents (TOC) dynamically
The idea is that we will loop over the elements that are marked with data-toc and create corresponding Table of Contents elements.
Read more >Markdown TOC exported to PDF? - DEVONthink
MultiMarkdown generates a table of content by {{TOC}} . It's not a separate file and it will only work if you export to...
Read more >Create Multiple TOC in Single PDF & Stable HTML to PDF ...
Create Multiple TOC in Single PDF & Stable HTML to PDF Conversion. Aspose.Pdf is a .Net Pdf component to write Pdf documents without...
Read more >Create PDF With Bookmark and TOC from HTML with ...
This tip shows how to export HTML to PDF with Bookmark and TOC using iTextSharp. Technology includes ASP.NET MVC, iTextSharp 4.1.6 ...
Read more >Table of contents in the exported PDF document to have page ...
wrap the 'Table of Contents' information in a div - with a classname of 'rbtoc' followed by a 13 digit number which is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Could Mark Text export pdf with the index? What I mean is not the content table in document but the index info that could be recognized by the pdf viewer which will show it on the side bar.
@Jocs There doesn’t need to be any extra syntax. Just ask if a TOC should be included on export. stackedit.io allows for this:
The result adds a navigational sidebar to the html like this: