How to link to a named anchor in Multimarkdown?

后端 未结 7 1592
醉酒成梦
醉酒成梦 2020-11-28 17:21

I have come across a number of mentions of MultiMarkdown\'s support for internal links / named anchors but I am unable to find a single example of how to actually do it.

7条回答
  •  执笔经年
    2020-11-28 17:32

    I tested Github Flavored Markdown for a while and can summarize with four rules:

    1. punctuation marks will be dropped
    2. leading white spaces will be dropped
    3. upper case will be converted to lower
    4. spaces between letters will be converted to -

    For example, if your section is named this:

    ## 1.1 Hello World
    

    Create a link to it this way:

    [Link](#11-hello-world)
    

提交回复
热议问题