怎么自己做markdown目录?
方法1:自己写HTML
需要的知识
- id属性
- a超链接属性 href
实例:
<a href="#demo2">跳转至demo2标题</a>
<h1 id="demo1">demo1</h1>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<h1 id="demo2">demo2</h1>
效果:
点击链接,跳转至demo2标题