@@ -21,7 +21,11 @@ PegMarkdownHighlighter::PegMarkdownHighlighter(QTextDocument *p_doc, VMdEditor *
m_timeStamp(0),
m_codeBlockTimeStamp(0),
m_parser(NULL),
- m_parserExts(pmh_EXT_NOTES | pmh_EXT_STRIKE | pmh_EXT_FRONTMATTER | pmh_EXT_MARK),
+ m_parserExts(pmh_EXT_NOTES
+ | pmh_EXT_STRIKE
+ | pmh_EXT_FRONTMATTER
+ | pmh_EXT_MARK
+ | pmh_EXT_TABLE),
m_parseInterval(50),
m_notifyHighlightComplete(false),
m_fastParseInterval(30)
@@ -204,3 +204,10 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
MARK
foreground: dadada
background: 802090
+
+TABLE
+font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
+TABLEBORDER
+foreground: e37c84
+background: 4e4e4e
@@ -9,7 +9,7 @@ mdhl_file=v_detorte.mdhl
css_file=v_detorte.css
codeblock_css_file=v_detorte_codeblock.css
mermaid_css_file=v_detorte_mermaid.css
-version=12
+version=13
; This mapping will be used to translate colors when the content of HTML is copied
; without background. You could just specify the foreground colors mapping here.
@@ -203,3 +203,10 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
foreground: abb2bf
background: 551560
+foreground: e06c75
+background: 393f4a
@@ -7,7 +7,7 @@ mdhl_file=v_moonlight.mdhl
css_file=v_moonlight.css
codeblock_css_file=v_moonlight_codeblock.css
mermaid_css_file=v_moonlight_mermaid.css
-version=23
+version=24
@@ -199,3 +199,10 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
foreground: 363636
background: ffff76
+foreground: d33682
+background: eeeeee
@@ -7,7 +7,7 @@ mdhl_file=v_native.mdhl
css_file=v_native.css
codeblock_css_file=v_native_codeblock.css
mermaid_css_file=v_native_mermaid.css
-version=21
+version=22
[phony]
; Abstract color attributes.
@@ -200,3 +200,10 @@ font-family: Consolas, Monaco, Andale Mono, Monospace, Courier New
foreground: 222222
+background: e0e0e0
@@ -7,7 +7,7 @@ mdhl_file=v_pure.mdhl
css_file=v_pure.css
codeblock_css_file=v_pure_codeblock.css
mermaid_css_file=v_pure_mermaid.css