Something is wrong with yaml support

Issue #1385 resolved
haizaar
created an issue

Good day guys,

I'm trying to use pygmentize with yaml file and it just does not highlight them. Tried both using v2.2.0 on CPython3.6 and the online demo: http://pygments.org/demo/6648096/

Comments (4)

  1. Tim Hatch

    It parses it correctly, but the token types don't appear to have colors set up. Would anyone like to assist?

    $ pygmentize -f raw demo.yaml
    Token.Literal.Scalar.Plain  'receipt'
    Token.Punctuation.Indicator ':'
    Token.Text  '     '
    Token.Literal.Scalar.Plain  'Oz-Ware'
    Token.Literal.Scalar.Plain  ' '
    Token.Literal.Scalar.Plain  'Purchase'
    Token.Literal.Scalar.Plain  ' '
    Token.Literal.Scalar.Plain  'Invoice'
    Token.Text  '\n'
    Token.Literal.Scalar.Plain  'date'
    Token.Punctuation.Indicator ':'
    Token.Text  '        '
    Token.Literal.Scalar.Plain  '2012-08-06'
    Token.Text  '\n'
    ...
    
  2. Log in to comment