Can't produce Table of Contents
My plain text file is as follows:
{{TOC}}
#1#
##11##
###111###
#2#
And after I convert it to HTML file, I get:
{{TOC}}
1
11
111
2
So I cant make the TOC. HAHA.
Please help me.....
Comments are currently closed for this discussion. You can start a new one.
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 fletcher on 24 Feb, 2016 02:04 PM
You have to be using a version of MultiMarkdown >= 4.7.
Your sample works just fine in versions of MMD that support the
`{{TOC}}` syntax.
Latest versions are here:
https://github.com/fletcher/MultiMarkdown-5/releases
F-
2 Posted by JCL on 25 Feb, 2016 02:46 PM
Oh, thank you very much.
I use the right version 5.1.0, but I think I have found where is the point.
I typed "markdown 1.txt" or "multimark down 1.txt" in the command line tool, and got the wrong result.
But when I type "multimarkdown 1.txt > 1.html", I get the right result.
Thank you very much, Fletcher.
Support Staff 3 Posted by fletcher on 25 Feb, 2016 03:15 PM
If you installed markdown via the MultiMarkdown installer, it runs MultiMarkdown in compatibility mode. This causes it to run without any special extensions.
Glad it's working!
Fletcher
Sent from my iPhone
fletcher closed this discussion on 02 Dec, 2017 01:55 PM.