-
Notifications
You must be signed in to change notification settings - Fork 1
/
mermaid.nanorc
21 lines (12 loc) · 1.48 KB
/
mermaid.nanorc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
syntax mermaid "\.mmdc$"
comment "%%"
color cyan "%%.*"
color black ":" ";"
color yellow "title.*$"
color red "graph" "stateDiagram(-v2)?" "sequenceDiagram" "classDiagram" "pie" "erDiagram" "flowchart" "gantt" "gitGraph" "requirementDiagram" "journey" "info"
color magenta "subgraph" "direction" "^[[:space:]]*end" "click" "call" "callback" "action" "link" "href" "classDef" "class" "cssClass" ":::" "participant" "[[:space:]]as[[:space:]]" "activate" "deactivate" "state" "Note" "note" "loop" "alt" "else" "[[:space:]]opt" "par" "autonumber" "and" "rect" "section" "title" "dateFormat" "axisFormat" "todayMarker" "topAxis" "inclusiveEndDates" "excludes" "done[[:space:]]*," "active[[:space:]]*," "crit[[:space:]]*," "requirement" "element" "options" "commit" "branch" "checkout" "reset" "merge" "showData" "scale" "width" "hide empty description" "showInfo"
color yellow "%%.*%%[[:space:]]*$" "\".*\"" "\[+.*?\]" "[\{\(\}]+.*?[})]" "--[^&>]*--" "-\..*\.-" "==.*==" "\|.*\|" ">.*]"
color blue "<<.*>>" "[[fork]]" "[[choice]]" "[[join]]"
color black "<" ">"
color green "&" "-\." "\|" "\|" "--" "---" "----" "-----" "==" "===" "====" "=====" "-\.-" "-\.\.-" "-\.\.\.-" "-?\.->" "-\.\.->" "-\.\.\.->" "-+>" "-->[+-]?" "==+>" "->>[+-]?" "-->>[+-]?" "->[+-]?" "-)[+-]?" "--)[+-]?" "-x[+-]?" "--x[+-]?" "--o" "o--o" "x--x" "<-->" "<\|--" "\*--" "o--" "\.\.>" "\.\.|>" "\.\." "[[:space:]]*:[[:space:]]*[+#~-]?" "}\|" "\|\{" "<-" "}o" "o\{" "\[" "\]" "\{" "\}" "\(" "\)"
color magenta "TB" "TD" "BT" "RL" "LR"