Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #51 from GeekAb/master
Browse files Browse the repository at this point in the history
Markdown bug fix for #1107
  • Loading branch information
alexdima authored Oct 17, 2018
2 parents 2c18c1e + 8ddd2b6 commit 21376c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/markdown/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const language = <ILanguage>{
[/`([^\\`]|@escapes)+`/, 'variable'],

// links
[/\{[^}]+\}/, 'string.target'],
[/\{+[^}]+\}+/, 'string.target'],
[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ['string.link', '', 'string.link']],
[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, 'string.link'],

Expand Down

0 comments on commit 21376c3

Please sign in to comment.