Create a gist now

Instantly share code, notes, and snippets.

@trans /igny2.yaml
Last active Aug 29, 2015

--- !!yaml
- !!version "2.0"
- !!tags
"!!": "tag:example.com,2000:app/"
---
!!int 1 - 3 # Interval, not integer
--- !!version "2.0"
--- !!tags
"!!": "tag:example.com,2000:app/"
---
!!int 1 - 3 # Interval, not integer
--- !!directive
YAML: "2.0"
TAGS:
"!!": "tag:example.com,2000:app/"
---
!!int 1 - 3 # Interval, not integer
@ingydotnet

I like igny2.yaml (sic) the best but ingy1.yaml should be allowed as well, since the inline documents could just as easily be external docs called ingy1.version.yaml and ingy1.tags.yaml.

I think we can lose the term directive as that usually means a line in a file that affects parsing. I prefer the terms meta or yaml for this meaning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment