文档内跳转

在你需要跳转到的目的地位置加入如下代码

<a id="anchor_name"></a>

然后便可以使用[key_word](#anchor_name)来实现文档内的跳转了!

In markdown, you can link a text to a hyperlink in 3 ways:

  1. Number Reference
  2. Tag Reference
  3. Direct Reference

BASIC

Indentation for each label is 2 space. Indentation for code is 4 space. If you want show code under a first-level label, Youll need indent 6 spaces, which is code identation + label indetation. And on second-level label, youll need indent 1 code identation(4 spaces) and 2 label indention

Beaware that the affecfive scope of a label lasts for one blankline, and the border of the scope is the last line of the Label group. If you write 2 blank lines, the current label scope will finish, and a new scope will be genarated.

This is an example:

  • Label0 # Independent Label
  • Label1 # First_level Label

    code1             \#  belong to Label1
    
    • Label2 # sub label of Label1

      code2           \#  belong to Label2
      
      • Label3 # sub label of Label2

      code4 # belongs to Label3, so need more indentation to get code visual effect.

    • Label4 # sub label of Label1

ON STACKOVERFLOW

  • To produce the real key effection

    <kbd> KEY </kbd>
    

results matching ""

    No results matching ""