Usually you highlight important things in your YAML diagram, but sometimes it is also useful to show a highlighted alternative or optional values with a different color.
A possible solution might be a color option like: → '#color', '#red', '#E3E3E3'
@startyaml
#highlight "color"
#highlight "size" #red
fruit: Apple
size: Large
color:
- Red
- Green
@endyaml
Usually you highlight important things in your YAML diagram, but sometimes it is also useful to show a highlighted alternative or optional values with a different color.
A possible solution might be a color option like: → '#color', '#red', '#E3E3E3'