From 652f84ad21108ed75d311a3c15e268eb404393de Mon Sep 17 00:00:00 2001 From: Simon O'Shea <55282932+osheas1atwit@users.noreply.github.com> Date: Sun, 26 Nov 2023 13:27:25 -0500 Subject: [PATCH 1/3] Update readme.md Added spaces after #'s to make use of Github's markdown rendering (currently the #'s are not actually creating headers and are just being displayed as plaintext). --- readme.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index 538e930..45bc12c 100644 --- a/readme.md +++ b/readme.md @@ -1,31 +1,31 @@ -#Notes for Sublime Text +# Notes for Sublime Text -##A _Very_ Simple Language for Taking Notes +## A _Very_ Simple Language for Taking Notes If you're like me, you find yourself taking a lot of notes in Sublime. I like syntax highlighting, and I thought it would be cool to see it applied to every day note taking. Now you can enjoy your beautiful color schemes while taking everyday notes! ![alt tag](docs/img/notes-signalr-example.png?raw=true) -##Installation +## Installation Install via Sublime's [Package Manager](https://sublime.wbond.net/installation). - Open the command palette: `⌘+shift+p` on MacOS/Linux, `ctrl+shift+p` on Windows - type `install`, select `Package Control: Install Package` - type `Notes`, select `Notes` -##Usage +## Usage - Open the command palette: `⌘+shift+p` on MacOS/Linux, `ctrl+shift+p` on Windows - type `notes` - or save as a .notes file -##Features +## Features ![alt tag](docs/img/notes-quicklook.png?raw=true) -##Snippets +## Snippets - generate block title: `--- + TAB` - generate code snippet: `[ + TAB` -##Supported languages for snippets +## Supported languages for snippets - Actionscript - Applescript - ASP From 9d97f00daf637c280ad84884a48c59303d193b1c Mon Sep 17 00:00:00 2001 From: Simon O'Shea <55282932+osheas1atwit@users.noreply.github.com> Date: Sun, 26 Nov 2023 13:29:34 -0500 Subject: [PATCH 2/3] Update notes.YAML-tmLanguage Modified "invalid.deprecated.notes" warning/critical regular expression to better match documentation. --- notes.YAML-tmLanguage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notes.YAML-tmLanguage b/notes.YAML-tmLanguage index af5f4fa..a5aa35f 100644 --- a/notes.YAML-tmLanguage +++ b/notes.YAML-tmLanguage @@ -525,11 +525,11 @@ patterns: match: (\"[^\"]*\") - comment: Warning/critical name: invalid.deprecated.notes - match: (?![a-zA-Z])\!+[^\!\n\r]+\!* + match: (!!([^!]+)!!) - comment: Emphasis on parentheses name: keyword.operator match: ([\(\)]) - comment: Top-level vocab definitions name: keyword.other.notes match: ^(([\w\+-=\/?!@#$%^&()~]+(\s?[\w\+-=\/?!@#$%^&()~]*)*\:)(?=[ \t][\w\d])) -... \ No newline at end of file +... From 57842abb1e93bc5a637a34d0aba766cd19f68394 Mon Sep 17 00:00:00 2001 From: Simon O'Shea <55282932+osheas1atwit@users.noreply.github.com> Date: Sun, 26 Nov 2023 13:30:35 -0500 Subject: [PATCH 3/3] Update notes.tmLanguage Modified "invalid.deprecated.notes" warning/critical regular expression to better match documentation. --- notes.tmLanguage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes.tmLanguage b/notes.tmLanguage index a4855c5..903cefa 100644 --- a/notes.tmLanguage +++ b/notes.tmLanguage @@ -1970,7 +1970,7 @@ comment Warning/critical match - (?![a-zA-Z])\!+[^\!\n\r]+\!* + (!!([^!]+)!!) name invalid.deprecated.notes