Skip to content
Discussion options

You must be logged in to vote

In YAML, you cannot have a key both as parent and has a value.

The following will always be invalid, thus the suggestion to remove the indentation of the child: value.

key: value
  child: value

When a key has subkeys, it has no atomic value:

key:
  child: value

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidleitch1
Comment options

Answer selected by davidleitch1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
yaml-validation Issues with YAML validation and autocompletion in quarto
2 participants