3
A
回答
2
在降價高亮(https://github.com/plasticboy/vim-markdown/blob/master/syntax/mkd.vim)plasticboy做這樣的:
"HTML headings
syn region htmlH1 start="^\s*#" end="\($\|#\+\)" [email protected]
syn region htmlH2 start="^\s*##" end="\($\|#\+\)" [email protected]
syn region htmlH3 start="^\s*###" end="\($\|#\+\)" [email protected]
syn region htmlH4 start="^\s*####" end="\($\|#\+\)" [email protected]
syn region htmlH5 start="^\s*#####" end="\($\|#\+\)" [email protected]
syn region htmlH6 start="^\s*######" end="\($\|#\+\)" [email protected]
syn match htmlH1 /^.\+\n=\+$/ conta[email protected] "<-- Here is the one I think you want
syn match htmlH2 /^.\+\n-\+$/ [email protected]
爲了完整降價標題如下:
H1 header
=========
H2 header
---------
相關問題
- 1. 匹配除了以下劃線
- 2. 如何將線下劃線的模式匹配後
- 3. 加下劃線或不加下劃線
- 4. JQuery - 匹配中的下劃線()
- 5. 正則表達式匹配下劃線
- 6. 如何匹配照片名稱中的下劃線與mod_rewrite?
- 7. 如何匹配字符串中的下劃線 - MYSQL
- 8. 下劃線_.filter條件
- 9. 如何用下劃線評估下劃線中的JavaScript函數?
- 10. WP - 如何以編程方式刪除超鏈接下劃線的下劃線?
- 11. 如何編輯網格行以刪除下劃線中的下劃線
- 12. 加下劃線的文字
- 13. 鏈接上的下劃線不加下劃線,帶鏈接
- 14. 如何在HTML文本下添加虛線下劃線
- 15. 文本下劃線顯示下劃線
- 16. 如何在滾動時加下劃線?
- 17. 如何添加下劃線以下PHP值
- 18. 如何打印一條匹配線,其中一條線緊靠其上方,另一條線緊靠下方?
- 19. 如何使用下劃線
- 20. 下劃線_.intersection() - 如何?
- 21. NSPredicate以下劃線崩潰
- 22. SQL查詢以下劃線
- 23. 操縱以下劃線
- 24. 使用c在RichTextBox中將下劃線加下劃線
- 25. 如何修復試圖匹配的字母,數字,空格,下劃線1-100字符和短劃線
- 26. 使用正則表達式匹配除下劃線以外的任何字符
- 27. 在datagridview中加下劃線
- 28. my.cnf.d/server.cnf配置 - 短劃線或下劃線
- 29. 是否可以在JTextField上加下劃線?如果是,如何?
- 30. 用下劃線