0

When using PrismJS with YAML block that has a double newline, it doesn't highlight correctly after the blank line. Does anyone know how to solve this? Attaching a screenshot of correct highlighting from onlineyamltools.com to show what I mean. It can easily be seen here: https://prismjs.com/test.html#language=yaml

Incorrect highlighting

Correct highlighting

specimen
  • 1,735
  • 14
  • 23

0 Answers0