react-monacoeditor
react-monacoeditor copied to clipboard
YAML multiline code has invalid color highlighting
When using a multiline block (either |
or >
) in yaml the highlighting color will often be incorrect. This mainly happens when brackets are involved. Example:
controller:
config:
modsecurity-snippet: |
correct: true
also-correct: true
{
incorrect: true
{
also-incorrect: true
}
}
The expected outcome is that everything underneath the |
pipe is highlighted as orange as expected with multiline color highlighting, however the outcome seems to be:

Is there any chance that you could look into this issue?
Thanks in advance.