Skip to content

Commit

Permalink
修复:修复了标题渲染失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
guobao2333 committed May 2, 2024
1 parent 5320ba5 commit f3f0913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtsx/github_markdown.mtsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

// 不打算适配制表符(因为会有bug暂时没法修复/: )
defines: [ // (?m) ^匹配每行开头
"prefix": /^|\n */
"prefix": /(?m)^ */
"title": {match: include("prefix") + /#{1,6} .*/, 0: "title"}
"escape": {match: /\\./, 0: "escape"}

Expand Down

0 comments on commit f3f0913

Please sign in to comment.