我使用了marked.js将md转成html,并在这里为h1和h2加上了id值,作为锚点 // 先安装marked.js到本地npm install marked --save // 在组件内引入marked import marked ...
確定! 回上一頁