Docs

URL Scheme

The URL Scheme (URI protocol) allows using regular links to execute Nota commands. You can test each command by typing it in the browser address bar. You can place such a link on a webpage — clicking it will execute the command.

Here are the actions you can perform:

Launch or show Nota

If Nota isn't running, it will launch it. If it's already running, it will show the application window.

nota://open

Open a workspace

Launches or shows Nota and opens the specified workspace. The workspace parameter expects the folder name of the workspace. For the command to work, this shouldn't be the first time you open the workspace.

nota://open?workspace=my-second-brain

Open a file

Launches or shows Nota and opens the specified file. There are two ways you can do this:

Using the workspace and file properties. The workspace parameter expects the folder name of the workspace. The file property expects the name of the file (no need to specify in which folder it is, or its extension).

nota://open?workspace=my-second-brain&file=realizations

Using the path property. The path value should be an absolute path to the file on your disk. The file will be opened in the currently opened workspace.

nota://open?path=%2FUsers%2Fastoilkov%2Frealizations.md

Open a daily note

Launches or shows Nota and opens a daily note. The workspace parameter expects the folder name of the workspace. The daily property accepts either the words today, tomorrow, yesterday, or a date with a YYYY-MM-DD format.

Related