Files
QuickLook/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/PlantUML.xshd
ema bf41e7755e Add PlantUML syntax highlighting
Support extensions (.puml, .plantuml, .pu, .uml, .iuml, .wsd)
2026-02-10 01:29:29 +08:00

116 lines
3.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<SyntaxDefinition name="PlantUML" extensions=".puml;.plantuml;.pu;.uml;.iuml;.wsd">
<Environment>
<Default color="#D4D4D4" bgcolor="#1E1E1E"/>
<Selection color="#1E1E1E" bgcolor="#264F78"/>
<LineNumbers color="#858585" bgcolor="#1E1E1E"/>
<CaretMarker color="#AEAFAD"/>
<VRuler color="#2A2A2A"/>
<FoldLine color="#858585" bgcolor="#1E1E1E"/>
<FoldMarker color="#D4D4D4" bgcolor="#1E1E1E"/>
<SelectedFoldLine color="#D4D4D4" bgcolor="#1E1E1E"/>
<EOLMarkers color="#404040"/>
<SpaceMarkers color="#404040"/>
<TabMarkers color="#404040"/>
<InvalidLines color="#404040"/>
</Environment>
<Properties>
<Property name="LineComment" value="'"/>
</Properties>
<Digits name="Digits" color="#B5CEA8"/>
<RuleSets>
<RuleSet ignorecase="true">
<Delimiters>()[]{},:.@`=;+-*/%~ &amp;|^&gt;&lt;</Delimiters>
<Span name="LineCommentApostrophe" stopateol="true" color="#608B4E" bold="false" italic="false">
<Begin>'</Begin>
</Span>
<Span name="LineCommentSlash" stopateol="true" color="#608B4E" bold="false" italic="false">
<Begin>//</Begin>
</Span>
<Span name="String" stopateol="true" color="#CE9178" bold="false" italic="false" escapecharacter="\">
<Begin>"</Begin>
<End>"</End>
</Span>
<KeyWords name="Keywords" color="#569CD6" bold="false" italic ="false">
<Key word="@startuml"/>
<Key word="@enduml"/>
<Key word="@startmindmap"/>
<Key word="@endmindmap"/>
<Key word="@startgantt"/>
<Key word="@endgantt"/>
<Key word="@startjson"/>
<Key word="@endjson"/>
<Key word="@startyaml"/>
<Key word="@endyaml"/>
<Key word="skinparam"/>
<Key word="title"/>
<Key word="header"/>
<Key word="footer"/>
<Key word="legend"/>
<Key word="note"/>
<Key word="left"/>
<Key word="right"/>
<Key word="up"/>
<Key word="down"/>
<Key word="of"/>
<Key word="as"/>
<Key word="on"/>
<Key word="link"/>
<Key word="actor"/>
<Key word="participant"/>
<Key word="boundary"/>
<Key word="control"/>
<Key word="entity"/>
<Key word="database"/>
<Key word="collections"/>
<Key word="class"/>
<Key word="interface"/>
<Key word="enum"/>
<Key word="abstract"/>
<Key word="package"/>
<Key word="namespace"/>
<Key word="component"/>
<Key word="node"/>
<Key word="state"/>
<Key word="artifact"/>
<Key word="folder"/>
<Key word="frame"/>
<Key word="cloud"/>
<Key word="rectangle"/>
<Key word="alt"/>
<Key word="else"/>
<Key word="opt"/>
<Key word="loop"/>
<Key word="par"/>
<Key word="break"/>
<Key word="critical"/>
<Key word="group"/>
<Key word="box"/>
<Key word="activate"/>
<Key word="deactivate"/>
<Key word="destroy"/>
<Key word="create"/>
<Key word="newpage"/>
<Key word="hide"/>
<Key word="show"/>
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>