Represents a Syntax definition available in the current installation of Drafts.
let syntax = Syntax.find("builtIn", "Markdown");
draft.syntax = syntax;
URL which can be used to install this Syntax in another installation of Drafts. Useful for sharing and backups.
The name of the syntax definition.
The type (builtIn, custom, file) of the syntax definition.
Get list of all available syntaxes.
Generated using TypeDoc