YAML formatting

Is there a good guide, or can somebody offer an explanation, on YAML formatting? When I try to edit in Notepad++ I don’t know if I’m doing it right or not.

You can read about it on wikipedia. I found that good enough. Then there are online validation tools like:
yaml-online-parser.appspot.com/

It will tell you if you have made a syntax error.