Last active
August 29, 2020 00:24
-
-
Save JollyWizard/f7513cd54d27e1ace608f1c5cf409442 to your computer and use it in GitHub Desktop.
[2020-08-28] ytt example that compiles in the playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ def yml_array_literal(): | |
- a | |
- b | |
#@ end | |
--- | |
ymlkey: #@ yml_array_literal() |
I believe this is only a problem at the beginning of a document before information on nesting alignments is established.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Demonstrates fix for broken example:
https://gist.github.com/JollyWizard/4aa2acf3e9692fdb4ff022c6d771dcaf
Document separator
---
must be used or yamlfragments in thedef _()
will cause the compilation to break.