mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 20:52:56 +01:00
Fix markdown bug
Fixes issue: https://github.com/Microsoft/monaco-editor/issues/1107
This commit is contained in:
parent
5428f8a943
commit
6182bc8a42
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ export const language = <ILanguage>{
|
|||
[/`([^\\`]|@escapes)+`/, 'variable'],
|
||||
|
||||
// links
|
||||
[/\{[^}]+\}/, 'string.target'],
|
||||
[/\{+[^}]+\}+/, 'string.target'],
|
||||
[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ['string.link', '', 'string.link']],
|
||||
[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, 'string.link'],
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue