Colon (:) in YAML comments highlights as key-value

Create issue
Issue #1528 resolved
Sean Robertson created an issue

Hi there and thanks for reading,

You can see the demo here:

AFAICT, everything after a pound (#) should be considered a comment, until the end of line. Instead, Pygments parses this as a new key-value pair. You can get errors if you incorrectly specify a key-value pair.

Thanks again,

Comments (2)

  1. Log in to comment