aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/syntax_rules/md.syntax
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-06-16 15:43:38 -0400
committerKen Moore <ken@ixsystems.com>2017-06-16 15:43:38 -0400
commit4cd80dc5eab95ecae76068c31b82ad05c0c86001 (patch)
tree325c372eaaec0ff108fce3c3664a1c8793628dda /src-qt5/desktop-utils/lumina-textedit/syntax_rules/md.syntax
parentGet the new side-pane TreeView up and running with q5sys's input. (diff)
parentUpdated Markdown syntax (diff)
downloadlumina-4cd80dc5eab95ecae76068c31b82ad05c0c86001.tar.gz
lumina-4cd80dc5eab95ecae76068c31b82ad05c0c86001.tar.bz2
lumina-4cd80dc5eab95ecae76068c31b82ad05c0c86001.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/syntax_rules/md.syntax')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/syntax_rules/md.syntax14
1 files changed, 7 insertions, 7 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/md.syntax b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/md.syntax
index 294c2c68..89146c62 100644
--- a/src-qt5/desktop-utils/lumina-textedit/syntax_rules/md.syntax
+++ b/src-qt5/desktop-utils/lumina-textedit/syntax_rules/md.syntax
@@ -22,38 +22,38 @@
},
{
"name": "bold",
- "regex" : "[\\*]{2}[^\\*]+[\\*]{2}",
+ "regex" : "[\\*]{2}[^\\*\\_\\s]+[\\*]{2}",
"foreground": "colors/altkeyword",
"font_weight" : "bold"
},
{
"name": "italic",
- "regex" : "[\\*]{1}[^\\*]+[\\*]{1}",
+ "regex" : "[\\*]{1}[^\\*\\_\\s]+[\\*]{1}",
"foreground": "colors/altkeyword",
"font_style" : "italic"
},
{
"name": "bold and italic",
- "regex" : "[\\*]{3}[^\\*]+[\\*]{3}",
+ "regex" : "[\\*]{3}[^\\s]*[^\\*\\_]+[^\\s]*[\\*]{3}",
"foreground": "colors/altkeyword",
"font_weight" : "bold",
"font_style" : "italic"
},
{
"name": "bold",
- "regex" : "[_]{2}[^\\*]+[_]{2}",
+ "regex" : "[_]{2}[^\\*\\_\\s]+[_]{2}",
"foreground": "colors/altkeyword",
"font_weight" : "bold"
},
{
"name": "italic",
- "regex" : "[_]{1}[^\\*]+[_]{1}",
+ "regex" : "[_]{1}[^\\*\\_\\s]+[_]{1}",
"foreground": "colors/altkeyword",
"font_style" : "italic"
},
{
"name": "bold and italic",
- "regex" : "[_]{3}[^\\*]+[_]{3}",
+ "regex" : "[_]{3}[^\\s]*[^\\*\\_]+[^\\s]*[_]{3}",
"foreground": "colors/altkeyword",
"font_weight" : "bold",
"font_style" : "italic"
@@ -70,7 +70,7 @@
},
{
"name" : "horizontal rule",
- "regex": "^((\\-[\\s]?\\-[\\s]?\\-[\\s]?)|(\\*\\*\\*))$",
+ "regex": "^((\\-\\s*\\-\\s*\\-\\s*)|(\\*\\s*\\*\\s*\\*)|(\\_\\s*\\_\\s*\\_\\s*))$",
"foreground" : "colors/function"
},
{
bgstack15