Created
September 24, 2021 09:05
-
-
Save BenBanerjeeRichards/192c11f3b547c53a5688c639a763529b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%YAML 1.2 | |
--- | |
# http://www.sublimetext.com/docs/syntax.html | |
name: Notes | |
file_extensions: | |
- txt | |
scope: text.plain | |
contexts: | |
main: | |
- match: '^[^\s].+:[\s]*\n' | |
scope: heading.primary | |
- match: '^.+:[\s]*\n' | |
scope: heading.secondary | |
- match: '^\s+([\*-]|[\d]+\.)\s' | |
scope: bullet | |
- match: ^\s+(☐)\s(.+)$ | |
captures: | |
1: task.icon-open | |
2: task.open | |
- match: ^\s+(✘)\s(.+)$ | |
captures: | |
1: task.icon-cancelled | |
2: task.cancelled | |
- match: ^\s+(✔)\s(.+)$ | |
captures: | |
1: task.icon-completed | |
2: task.completed | |
- match: ✔ | |
scope: task.icon | |
- match: (http|https)\://[^\s]+ | |
scope: link | |
- match: '[A-Z]{2,6}\-[\d]{1,6}' | |
scope: link | |
- match: '`.+`' | |
scope: code.inline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment