20 lines
319 B
Text
20 lines
319 B
Text
|
Name: "ConsoleText"
|
||
|
Details: "For styling command line text in documentation"
|
||
|
Extension: ".txt"
|
||
|
|
||
|
colouring {
|
||
|
=> !plain
|
||
|
brackets in /(\$) (.*)/ {
|
||
|
number 1 => !element
|
||
|
number 2 => {
|
||
|
=> !plain
|
||
|
matches of / -[A-Za-z0-9-]+/ {
|
||
|
=> !identifier
|
||
|
}
|
||
|
matches of /\S+/ {
|
||
|
number 1 => !function
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|