-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I would like to add coloration to a syntax like so :
<MD>
<SEPARATOR>
<MD>Where can be replaced by any markdown part and is a predefined string
In the end i tried to modify the coloration to have it only works if the SEPARATOR is present in its own paragraph (which means with empty line before and after).
But it seems like it's not possible to have a coloration around multiple lines ?
As an example heres what i've tried :
grammarRules: [
{
name: 'question',
type: 'inline',
definition: {
match: '(\n *\n#\\?#( +|\n))',
name: 'markup.inline.question',
captures: {
'1': { name: 'marker.definition.question.inline' }
}
}
}
],(with the corresponding colors options that works when it's not multiline regex)
Don't know if it's a bug or a features
Metadata
Metadata
Assignees
Labels
No labels