Skip to content

Commit

Permalink
Update Markdown syntax (#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed May 10, 2024
1 parent 5e15f9f commit e770f0a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CotEditor/Syntaxes/Markdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
attributes: []
attributes:
- beginString: (?<!\\)(?<!\*)\*[^ \t*]((?!\R{2})(?:.|\R))*?(?<![\\ ])\*
description: em
regularExpression: true
- beginString: (?<!\\)\b(?<!\_)_[^ \t_]((?!\R{2})(?:.|\R))*?(?<![\\ ])_
description: em
regularExpression: true
characters:
- beginString: (?:\R{2,}|\A)((?:([ ]{4}|\t)(.*(?:\R+|\Z)))+)((?=^[ ]{0,4}\S)|\Z)
description: codeblock
Expand Down Expand Up @@ -33,12 +39,6 @@ extensions:
filenames: []
interpreters: []
keywords:
- beginString: (?<!\\)(?<!\*)\*[^ \t*]((?!\R{2})(?:.|\R))*?(?<![\\ ])\*
description: em
regularExpression: true
- beginString: (?<!\\)\b(?<!\_)_[^ \t_]((?!\R{2})(?:.|\R))*?(?<![\\ ])_
description: em
regularExpression: true
- beginString: (?<!\\)\b~~(?![ \t])((?!\R{2})(?:.|\R))*?(?<![\\\t ])~~
description: '[github] strikethrough'
regularExpression: true
Expand Down

0 comments on commit e770f0a

Please sign in to comment.