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.....

  1. 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. 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.

  3. 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

  4. fletcher closed this discussion on 02 Dec, 2017 01:55 PM.

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

Recent Discussions

Recent Articles