Edit syntax information in CotEditor on Mac

A syntax definition can include metadata such as the author, version, and distribution URL.

Edit syntax information

To review or edit a syntax definition’s metadata, select Information from the list on the left side of the syntax editor. See Define a syntax for how to open the syntax editor.

You can set the following metadata for a syntax definition:

FieldDescription
Version

The version of the syntax definition. Semantic versioning is recommended.

Last modified

The date the syntax definition was last updated. The format YYYY-MM-DD is recommended.

Distribution URL

The webpage where the syntax definition is published or distributed.

Author

The author of the syntax definition.

License

The license for the syntax definition.

Description

Additional notes about the syntax definition.

This information is especially useful when sharing a custom syntax, but every field is optional.

See also