日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Typora设置标题自动添加序号

發布時間:2023/12/29 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Typora设置标题自动添加序号 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

僅供學習,轉載請注明出處

打開文件 - 偏好設置 - 打開主題文件夾

設置css樣式

創建一個空文件,命名為base.user.css

里面粘貼如下內容保存后重啟Typora,輸入標題時會自動出現序號。

/** initialize css counter */ #write { counter-reset: h1 } h1 { counter-reset: h2 } h2 { counter-reset: h3 } h3 { counter-reset: h4 } h4 { counter-reset: h5 } h5 { counter-reset: h6 } /** put counter result into headings */ #write h1:before { counter-increment: h1; content: counter(h1) ". " } #write h2:before { counter-increment: h2; content: counter(h1) "." counter(h2) ". " } #write h3:before, h3.md-focus.md-heading:before /** override the default style for focused headings */ { counter-increment: h3; content: counter(h1) "." counter(h2) "." counter(h3) ". " } #write h4:before, h4.md-focus.md-heading:before { counter-increment: h4; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) ". " } #write h5:before, h5.md-focus.md-heading:before { counter-increment: h5; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". "} #write h6:before, h6.md-focus.md-heading:before { counter-increment: h6; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ". "} /** override the default style for focused headings */ #write>h3.md-focus:before, #write>h4.md-focus:before, #write>h5.md-focus:before, #write>h6.md-focus:before, h3.md-focus:before, h4.md-focus:before, h5.md-focus:before, h6.md-focus:before { color: inherit; border: inherit; border-radius: inherit; position: inherit; left:initial; float: none; top:initial; font-size: inherit; padding-left: inherit; padding-right: inherit; vertical-align: inherit; font-weight: inherit; line-height: inherit; }

效果如下:

另外,如果需要去除序號后面 . 號的版本

/** initialize css counter */ #write { counter-reset: h1 } h1 { counter-reset: h2 } h2 { counter-reset: h3 } h3 { counter-reset: h4 } h4 { counter-reset: h5 } h5 { counter-reset: h6 } /** put counter result into headings */ #write h1:before { counter-increment: h1; content: counter(h1) " " }#write h2:before { counter-increment: h2; content: counter(h1) "." counter(h2) " " } #write h3:before, h3.md-focus.md-heading:before /** override the default style for focused headings */ { counter-increment: h3; content: counter(h1) "." counter(h2) "." counter(h3) " " } #write h4:before, h4.md-focus.md-heading:before { counter-increment: h4; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) " " } #write h5:before, h5.md-focus.md-heading:before { counter-increment: h5; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) " " } #write h6:before, h6.md-focus.md-heading:before { counter-increment: h6; content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) " " } /** override the default style for focused headings */ #write>h3.md-focus:before, #write>h4.md-focus:before, #write>h5.md-focus:before, #write>h6.md-focus:before, h3.md-focus:before, h4.md-focus:before, h5.md-focus:before, h6.md-focus:before { color: inherit; border: inherit; border-radius: inherit; position: inherit; left:initial; float: none; top:initial; font-size: inherit; padding-left: inherit; padding-right: inherit; vertical-align: inherit; font-weight: inherit; line-height: inherit; }

效果如下:

參考文獻

Typora設置標題自動添加序號


2019年全套Java、Android、HTML5前端、Python、大數據視頻,價值數萬資源大放送

尋找資源的地址如下:

掃描微信公眾號

尋找價值數萬的視頻資源

總結

以上是生活随笔為你收集整理的Typora设置标题自动添加序号的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 欧美做受 | 国产乱人伦app精品久久 | 日韩色黄大片 | 91视频网| 99热这里只有精品99 | 99re在线视频播放 | 狼性av懂色av禁果av | 国产成人一区二区三区影院在线 | 电影《两个尼姑》免费播放 | 无码国产精品一区二区免费式直播 | www.色天使 | 91麻豆精品一二三区在线 | 精品少妇一二三区 | 一级片免费在线播放 | 精品黄网 | 亚洲天堂五码 | 欧美一区二区视频在线 | 一区二区三区www | 国产50页| 国产普通话bbwbbwbbw | 国产精品久久久毛片 | 欧美 日韩 中文字幕 | 亚洲天堂手机在线观看 | 精品久久久久一区二区 | 草草草av | 男女无遮挡网站 | 激情综合久久 | 日本精品视频在线播放 | 综合激情网站 | 可以免费看污视频的网站 | 尤物视频最新网址 | 夜色88v精品国产亚洲 | 粉嫩av| 波多野结衣一本 | 夜夜爱爱 | 青青青在线视频观看 | 亚洲乱码中文字幕久久孕妇黑人 | 男人av网站 | 欧美亚洲色综久久精品国产 | 熟女性饥渴一区二区三区 | 蜜桃久久久久 | 中文字幕成人av | 超碰997 | 少妇又色又紧又黄又刺激免费 | 麻豆av影院| 一区二区三区视频免费观看 | 国内自拍青青草 | 午夜毛片在线观看 | 欧美日本一道 | 91视频一区二区 | 中文在线视频观看 | 草草久久久 | 天天做夜夜爽 | 91九色国产ts另类人妖 | 国产美女免费视频 | 性欧美又大又长又硬 | 亚洲无码精品免费 | 中文精品在线观看 | 美日韩毛片| 天天综合天天综合 | 欧美特一级 | h网站在线 | 人妻互换免费中文字幕 | 国内自拍xxxx18| www.亚洲综合 | 国产黄在线免费观看 | 狠狠狠狠狠狠狠 | 亚洲国产成人一区二区 | 开心激情亚洲 | 九九九九九伊人 | 美女被娇喘流出白 | 日本久久久久 | 国产乱码精品1区2区3区 | 久久综合狠狠综合久久综合88 | 国产中文字幕在线观看 | 小情侣高清国产在线播放 | 亚洲美女屁股眼交3 | 国产精品无码久久久久一区二区 | 中国美女黄色 | 三级视频在线播放 | 国产精品主播在线 | 欧美日韩中文字幕一区二区 | 女同av在线| 一区二区三区在线看 | 国产精品美女久久久久久 | 日本大乳奶做爰 | 色狠久| 青青草在线免费观看 | 健身教练巨大粗爽gay视频 | 91成人免费看 | 瑟瑟视频在线 | 性猛交╳xxx乱大交 偷偷操不一样的久久 | 住在隔壁的她动漫免费观看全集下载 | 日本亚洲色大成网站www久久 | 亚洲一区久久 | 中文字幕av一区二区 | 日本黄页网站免费大全 | 成人免费a视频 | 第一章婶婶的性事 |