variable-id-literal

Variable key must use ID_LITERAL characters; a key containing non-ID_LITERAL characters is emitted as literal text

§5.11 · source

Input

{{valid-key}} {{invalid key}} {{also.valid_1}}

Output AST

- type: Paragraph
  children:
    - type: Variable
      key: valid-key
    - type: Text
      value: " {{invalid key}} "
    - type: Variable
      key: also.valid_1

Diagnostics

- code: CDN-0015
  level: warning