You may want to configure some of the text colors, for instance in your vscode settings file, you can add scopes like so: "editor. You can also add global link patterns to your config via the notes.predefinedLinks config key. Vim and Emacs are always there for you, cozy, calm and willing. It’s mental mom’s spaghetti (or insert your comfort food here). Now, the following pattern will be recognized as a clickable link in your note file: (ABC-1234) It’s this type of comfort that has kept whatever perceived war between those still using Vim or Emacs and the prospect of using IDEs going for as long as it has. If you use shortened patterns in your notes files to refer to web pages (for example, an issue tracker has short IDs) then you can use a regular expression to teach your notes file what to do with it when clicked:įor example, to create links to tickets on Atlassian with prefix "ABC-", you could do something like this: You can also use tilde ( ~) to mean your home directory, e.g. If the notes file you'd like to link to contains spaces, you can use "double quotes" to indicate the spaces should be included in the hyperlink. References to notes can be absolute or relative if relative, they are relative to the current document. To follow the link, use the vscode cmd/ctrl+click standard feature. If you mention another *.notes file, it will be underlined and become a hyperlink: work.notes. When the cursor is on a line with a TODO checkbox, subsequent cmd/ctrl+L directives will cycle through (done) and (won't do). To add a new "TODO" item checkbox, use the cmd/ctrl+L shortcut: Pick up daughter after school Snippets & CommandsĪ newday snippet includes the current date and a set of organizing section headings: The example above comes from opening examples/basic.notes in VS Code, with the notes extension enabled and the Dark+ default theme selected. Also allows you to cross-link (cmd/ctrl-click) between notes. Syntax highlighting for notes, with simple TODO lists.
0 Comments
Leave a Reply. |