mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 08:27:19 -04:00
Minor fixes and additional colorscheme support
This commit is contained in:
+12
-12
@@ -4,15 +4,15 @@ detect:
|
||||
filename: "\\.rest$|\\.rst$"
|
||||
|
||||
rules:
|
||||
- red: "\\*\\*[^*]+\\*\\*"
|
||||
- brightred: "::"
|
||||
- blue: "`[^`]+`_{1,2}"
|
||||
- yellow: "``[^`]+``"
|
||||
- cyan: "^\\.\\. .*$"
|
||||
- cyan: "^__ .*$"
|
||||
- yellow: "^###+$"
|
||||
- yellow: "^\\*\\*\\*+$"
|
||||
- magenta: "^===+$"
|
||||
- red: "^---+$"
|
||||
- green: "^\\^\\^\\^+$"
|
||||
- blue: "^\"\"\"+$"
|
||||
- statement: "\\*\\*[^*]+\\*\\*"
|
||||
- preproc: "::"
|
||||
- constant.string: "`[^`]+`_{1,2}"
|
||||
- constant.string: "``[^`]+``"
|
||||
- identifier: "^\\.\\. .*$"
|
||||
- identifier: "^__ .*$"
|
||||
- type: "^###+$"
|
||||
- type: "^\\*\\*\\*+$"
|
||||
- special: "^===+$"
|
||||
- special: "^---+$"
|
||||
- special: "^\\^\\^\\^+$"
|
||||
- special: "^\"\"\"+$"
|
||||
|
||||
Reference in New Issue
Block a user