Skip to content

YAML Highlight - Custom color for specific entries #1393

@juicybox

Description

@juicybox

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions