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
cbd354eb04
commit
26566af6ed
@ -10,6 +10,12 @@ Change Log
|
||||
- Unix line endings, namely NEL (New Line), LS (Line Separator), and PS (Paragraph Separator), are added to the line endings options (These items are visible only either by pressing the Option key or the line endings of the opened document is one of these).
|
||||
|
||||
|
||||
### 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