<script>hljs.initHighlightingOnLoad();</script>

<script type=&#34;text/javascri" />

国产成人精品无码青草_亚洲国产美女精品久久久久∴_欧美人与鲁交大毛片免费_国产果冻豆传媒麻婆精东

15158846557 在線咨詢 在線咨詢
15158846557 在線咨詢
所在位置: 首頁 > 營銷資訊 > 網(wǎng)站運(yùn)營 > 簡書自帶的markdown網(wǎng)頁編輯器 怎么生成目錄?像csdn是[TOC]

簡書自帶的markdown網(wǎng)頁編輯器 怎么生成目錄?像csdn是[TOC]

時(shí)間:2024-01-27 12:25:01 | 來源:網(wǎng)站運(yùn)營

時(shí)間:2024-01-27 12:25:01 來源:網(wǎng)站運(yùn)營

簡書自帶的markdown網(wǎng)頁編輯器 怎么生成目錄?像csdn是[TOC]:http://yandex.st/highlightjs/6.2/styles/googlecode.min.css">




<script>hljs.initHighlightingOnLoad();</script>

<script type="text/javascript">

$(document).ready(function(){

$("h2,h3,h4,h5,h6").each(function(i,item){

var tag = $(item).get(0).localName;

$(item).attr("id","wow"+i);

$("#category").append('<a class="new'+tag+'" href="#wow'+i+'">'+$(this).text()+'</a></br>');

$(".newh2").css("margin-left",0);

$(".newh3").css("margin-left",20);

$(".newh4").css("margin-left",40);

$(".newh5").css("margin-left",60);

$(".newh6").css("margin-left",80);

});

});

</script>

<div id="category"></div>

關(guān)鍵詞:目錄,編輯

74
73
25
news

版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。

為了最佳展示效果,本站不支持IE9及以下版本的瀏覽器,建議您使用谷歌Chrome瀏覽器。 點(diǎn)擊下載Chrome瀏覽器
關(guān)閉