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: http://pygments.org/demo/6846860/

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,
Sean

Comments (2)

  1. Log in to comment