Support For Nested YAML
Closed this issue · 3 comments
thecatalogueback commented
Will there be support for nested YAML properties?
jbhaywood commented
I hadn't thought about it, but what would you expect that look like?
thecatalogueback commented
at simplest just having it in the dot notation that a lot of other plugins use ("name.given" for example) to signify nested data. but maybe having the top level row be highlighted or bolded in some way and then a dropdown arrow next to the key that reveals/hides the values underneath
something visually similar to this is what I was thinking
Stat | Value |
---|---|
fileClass | Character |
> name | |
given | John |
familyName | Doe |
familyGroup | Doe |
description | an unidentified male |
jbhaywood commented
I uploaded an update that just does the simple thing of using a dot separator (or any character you want, as defined in the settings).