What is the current behavior?
Comments on title: headers cause parse errors.
Yarn Spinner supports comment in the header section of a node. These comments may be on their own line, or following a header. However, if a comment follows a title header, the compiler produces a syntax error.
Please provide the steps to reproduce, and if possible a minimal demo of the problem:
The following code causes a syntax error:
title: Start // this comment causes a parser error
// this comment is ok
example: woo // this comment is ok also
---
Test
===
What is the expected behavior?
Comments should be legal on any header.
What is the current behavior?
Comments on
title:headers cause parse errors.Yarn Spinner supports comment in the header section of a node. These comments may be on their own line, or following a header. However, if a comment follows a title header, the compiler produces a syntax error.
Please provide the steps to reproduce, and if possible a minimal demo of the problem:
The following code causes a syntax error:
What is the expected behavior?
Comments should be legal on any header.