vscode-markdown-preview-enhanced icon indicating copy to clipboard operation
vscode-markdown-preview-enhanced copied to clipboard

generate a Table of Contents when outputing a pdf file

Open jmc-123 opened this issue 2 years ago • 1 comments

Can MPE generate a Table of Contents (TOC) out of the h1- h3 headers when generating a pdf file. The TOC can be viewed in the left side of window and clickable when the pdf file is opened in any viewer.

Thanks for a response.

jmc-123 avatar May 16 '22 22:05 jmc-123

As far as I've used it, it's not possible. At least, not the way I use it.

I open the preview in my browser, to then print it to PDF, which does not create bookmarks. Neither do links like this work:

[Some Header](#some-header)

# Some Header

Some Header

Some Header

I would like to get updates on this, however, and would love support for this to be implemented!

lajawi avatar Apr 07 '24 20:04 lajawi