@startuml !unquoted function $lookup($id) !$data={"participants":[ {"id": "cm", "label": "label cm", "desc": "desc cm"}, {"id": "tm", "label": "label tm", "desc": "desc tm"}, {"id": "am", "label": "label am", "desc": "desc am"} ]} !foreach $part in $data.participants !if $part.id == $id :id=$part.id \nlabel=$part.label \ndesc=$part.desc; !endif; !endfor !endfunction !$a="cm" :$a; $lookup($a) $lookup(cm) $lookup("cm") '!$d=$lookup(cm) @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
Pure Javascript
PNG
SVG
ASCII Art