mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Optimize Markdown highlight parsing
This commit is contained in:
parent
6443aa0d2c
commit
befc6bf988
@ -5,6 +5,10 @@ Change Log
|
||||
4.1.3 (unreleased)
|
||||
--------------------------
|
||||
|
||||
### Improvements
|
||||
|
||||
- Update Markdown syntax style for faster syntax parsing.
|
||||
|
||||
|
||||
|
||||
4.1.2 (481)
|
||||
|
@ -5,10 +5,10 @@ extensions:
|
||||
- keyString: "mdown"
|
||||
- keyString: "mkdn"
|
||||
metadata:
|
||||
version: "1.3.2"
|
||||
version: "1.3.3"
|
||||
author: "1024jp"
|
||||
license: "Same as CotEditor"
|
||||
lastModified: "2022-02-02"
|
||||
lastModified: "2022-02-21"
|
||||
distributionURL: "https://coteditor.com"
|
||||
keywords:
|
||||
- beginString: "(?<![\\\\*])(\\*{1,3})[^ \\t*](?:\\n[^\\n]|[^\\n])*?(?<![\\\\ ])\\1"
|
||||
@ -23,7 +23,7 @@ keywords:
|
||||
- beginString: "\\n[\\t ]*\\n(?:\\- *){3,}$"
|
||||
regularExpression: true
|
||||
description: "hr"
|
||||
- beginString: "\\n[^: \\t][^\\n]*(?=([\\t ]*\\n)?\\n[\\t ]*:[\\t ])"
|
||||
- beginString: "\\n[^: \\t\\n][^\\n]*+(?=\\n[ ]{0,3}:[ \\t])"
|
||||
regularExpression: true
|
||||
description: "[extra] dt"
|
||||
- beginString: "^(?:\\* *){3,}$"
|
||||
|
Loading…
Reference in New Issue
Block a user