From 8c46c3223ec14a59a5a00d64b2283c71115c51fc Mon Sep 17 00:00:00 2001 From: deathaxe Date: Fri, 26 Jul 2024 16:42:37 +0200 Subject: [PATCH 1/2] Syntax: Fix utf-8 incompatible character --- syntaxes/Markdown.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntaxes/Markdown.sublime-syntax b/syntaxes/Markdown.sublime-syntax index 52d58fa4..019ba395 100644 --- a/syntaxes/Markdown.sublime-syntax +++ b/syntaxes/Markdown.sublime-syntax @@ -3780,7 +3780,7 @@ contexts: - meta_scope: meta.link.inet.markdown markup.underline.link.markdown-gfm # 1. When an autolink ends in ), we scan the entire autolink for the total # number of parentheses. If there is a greater number of closing parentheses - # than opening ones, we don’t consider the last character part of the + # than opening ones, we don't consider the last character part of the # autolink, in order to facilitate including an autolink inside a parenthesis # 2. If an autolink ends in a semicolon (;), we check to see if it appears to # resemble an entity reference; if the preceding text is & followed by one From f1e05814312e256d66dce9b58ef6b39519875ca5 Mon Sep 17 00:00:00 2001 From: deathaxe Date: Fri, 26 Jul 2024 16:51:36 +0200 Subject: [PATCH 2/2] Scheme: Add highlighting rules for ==highlight== --- schemes/MarkdownEditor-ArcDark.sublime-color-scheme | 6 ++++++ schemes/MarkdownEditor-Dark.sublime-color-scheme | 6 ++++++ schemes/MarkdownEditor-Focus.sublime-color-scheme | 6 ++++++ schemes/MarkdownEditor-Yellow.sublime-color-scheme | 6 ++++++ schemes/MarkdownEditor.sublime-color-scheme | 6 ++++++ 5 files changed, 30 insertions(+) diff --git a/schemes/MarkdownEditor-ArcDark.sublime-color-scheme b/schemes/MarkdownEditor-ArcDark.sublime-color-scheme index f3676afb..e7b0b237 100644 --- a/schemes/MarkdownEditor-ArcDark.sublime-color-scheme +++ b/schemes/MarkdownEditor-ArcDark.sublime-color-scheme @@ -380,6 +380,12 @@ "scope": "markup.prompt", "foreground": "#aaaaaa" }, + { + "name": "Markup: Highlight", + "scope": "markup.highlight", + "foreground": "var(critic_highlight_fg)", + "background": "var(critic_highlight_bg)" + }, // // CriticMarkup diff --git a/schemes/MarkdownEditor-Dark.sublime-color-scheme b/schemes/MarkdownEditor-Dark.sublime-color-scheme index ebee93fd..5d0c22fd 100644 --- a/schemes/MarkdownEditor-Dark.sublime-color-scheme +++ b/schemes/MarkdownEditor-Dark.sublime-color-scheme @@ -392,6 +392,12 @@ "scope": "markup.prompt", "foreground": "#aaaaaa" }, + { + "name": "Markup: Highlight", + "scope": "markup.highlight", + "foreground": "var(critic_highlight_fg)", + "background": "var(critic_highlight_bg)" + }, // // CriticMarkup diff --git a/schemes/MarkdownEditor-Focus.sublime-color-scheme b/schemes/MarkdownEditor-Focus.sublime-color-scheme index da939a68..1aba36db 100644 --- a/schemes/MarkdownEditor-Focus.sublime-color-scheme +++ b/schemes/MarkdownEditor-Focus.sublime-color-scheme @@ -411,6 +411,12 @@ "scope": "markup.prompt", "foreground": "#555555" }, + { + "name": "Markup: Highlight", + "scope": "markup.highlight", + "foreground": "var(critic_highlight_fg)", + "background": "var(critic_highlight_bg)" + }, // // CriticMarkup diff --git a/schemes/MarkdownEditor-Yellow.sublime-color-scheme b/schemes/MarkdownEditor-Yellow.sublime-color-scheme index a022bf28..ac47a3f0 100644 --- a/schemes/MarkdownEditor-Yellow.sublime-color-scheme +++ b/schemes/MarkdownEditor-Yellow.sublime-color-scheme @@ -390,6 +390,12 @@ "scope": "markup.prompt", "foreground": "#705442" }, + { + "name": "Markup: Highlight", + "scope": "markup.highlight", + "foreground": "var(critic_highlight_fg)", + "background": "var(critic_highlight_bg)" + }, // // CriticMarkup diff --git a/schemes/MarkdownEditor.sublime-color-scheme b/schemes/MarkdownEditor.sublime-color-scheme index 95ee46db..a0b429b9 100644 --- a/schemes/MarkdownEditor.sublime-color-scheme +++ b/schemes/MarkdownEditor.sublime-color-scheme @@ -389,6 +389,12 @@ "scope": "markup.prompt", "foreground": "#555555" }, + { + "name": "Markup: Highlight", + "scope": "markup.highlight", + "foreground": "var(critic_highlight_fg)", + "background": "var(critic_highlight_bg)" + }, // // CriticMarkup