Multimarkdown TOC and links not working


Multimarkdown 6 provides for Table of Contents and a simple way to key links to selected headings. I am familiar with this from other iOS markdown apps.

I can’t make jump links work in Drafts, nor a TOC.

This is a facility I rely on in longer notes, especially in speaking/teaching/discussion situations.

Is there another way to provide internal links, or will future releases bring improved MultiMarkdown functionality? Or other suggestions?


For a heading the anchor name is an encoding of the heading’s text.

You could write a script to parse the document and confect a list at the top.

(That is what I did in an internal Python Markdown tool; I preprocess into Markdown. Sorry I can’t share it.)


The Multimarkdown {{TOC}} Table of Contents generation is supported if you are using MultiMarkdown as your Markdown generator.

There is a slight gotcha, however, due to the fact that the double curly braces conflict with Drafts’ template engines use of those markers for URL encoding. To get the table of contents inserted in your preview, you must escape it to prevent URL encoding handling it before MultiMarkdown gets a hold of it - so use \{{TOC}} (note leading backslash excape character.

So, this Markdown in Drafts:


# Header 1

# Header 2

Will generate this preview: