Brett on 23 Nov, 2015 02:22 PM
Intra-document links (links that jump to locations within the document)
in PDFs are currently impossible with Apple's webkit export, which is
what Marked uses. I will probably be rewriting a custom exporter from
scratch, but it's not going to be possible in the immediate future.
You can use external tools such as wkpdf or PrinceXML to generate the
PDFs, but clearly that's an inconvenience.
Brett on 17 Nov, 2016 08:01 PM
The current DOCX export does not support TOC, no. The limitation
is frustrating to me as well. I'm working on a new RTF export that
will make this a possibility, but right now the libraries Apple
provides have made it very difficult to export intra-document links
within a PDF from a web preview.
Brett on 21 Nov, 2016 05:05 PM
I personally rarely need a TOC in a PDF, so I haven't spent much time
figuring out alternatives. PDFpen Pro should be able to do it. I believe
that Ulysses' PDF export can also create one properly (I do have
intentions of adopting a similar solution, eventually).