URL Schema
Use nova:// URLs to open files and clone repos.
You can use the nova://
URL scheme to open files in Nova, clone repositories, link to Extensions, and automatically register Nova with your serial number. This can be useful for scripting and automation, or for sharing links to specific files or blocks of code.
open
Open a specified file in Nova.
Usage
nova://open?path=/example/file.html&line=1:5&type=html
Arguments
- path
- The absolute path to the file to open.
- line (Optional)
- Open the file to a specific line or column.
line=1
will place the cursor at the start of line 1,line=1:5
will place it at line 1, column 5. Prior to Nova 13, only line values were supported, not columns. - type (Optional)
- Open the file in a specific syntax mode. Accepts either the syntax name (ie,
javascript
) or a file extension (js
). Prior to Nova 13, only syntax names were supported, not file extensions.
clone
Clone a repository from a specified URL.
Usage
nova://clone?url=https://example.com/repository.git
Arguments
- url
- The URL of the remote repository. Supports both HTTPS and SSH.
extension
Open a specified extension in Nova’s Extension Library.
Usage
nova://extension?id=com.panic.Playdate
Arguments
- id
- The unique identifier of the extension to open.
register
Register an unregistered copy of Nova with the specified serial number.
Usage
nova://register?serial=NOVA-XXXX-XXXX-XXXX-XXXX-XXXX-X
Arguments
- serial
- The serial number to use for registration.
NEXT SECTION →
Editor
← Previous Using Nova's CLI |