Should you find your new profile does not do what you want it to then here are some things to check.
If it does nothing
Check the declaration of the CODE plugin is exactly like this:
{CODE(caption=>YAML)}
[your YAML goes in here]
{CODE}
Note: there must not be quotes around YAML and the ">" after the "=" is required.
If you get a "Profile cannot be parsed" (or whatever it says - TODO check) or blank page (sometimes)
Check the indentation carefully and compare yours with working profiles.
It has to be very precise, with each "level" indented with
two spaces.