Clarify some YAML related things please
Posted: February 1st, 2019, 2:36 pm
I recently bumped into some Questions, which might be handy for further readers:
This tells me:
A yml file is created, where Zeile1 is overwritten with Zeile2 and i looks like this:
Can I do something like this and if, how?
Next question I ran into:
Is there some way to force a sorting order? The creation of the yaml files seems a bit random to me. It does not seem to sort it in any way?
Last question:
Is there a way to put some sort of comment into the default config file? Maybe I can make it looking like this:
This tells me:
But if I do something like this:ยป Use to modify a YAML file similarly to a flag.
- yaml id:myfile set my.key[2]:hello
Code: Select all
- yaml id:tablist_config set tablist.header.text:Zeile1
- yaml id:tablist_config set tablist.header.text[2]:Zeile2
Code: Select all
tablist:
footer:
text:
- Zeile2
Code: Select all
tablist:
footer:
text:
- <&f>--------------------------------
- <&5> www.uhu-uhu.de
- <&5> Eulen, die ranklotzen
Is there some way to force a sorting order? The creation of the yaml files seems a bit random to me. It does not seem to sort it in any way?
Last question:
Is there a way to put some sort of comment into the default config file? Maybe I can make it looking like this:
Code: Select all
tablist:
footer:
text:
#Here you can specify your footer. Each line will be a new line. Color codes have to be like <&code>
- <&f>--------------------------------
- <&5> www.uhu-uhu.de
- <&5> Eulen, die ranklotzen