Interface IEditorLanguage

The interface of a codemirror language specification.

Hierarchy

  • IEditorLanguage

Properties

alias?: readonly string[]

Language name alias.

displayName?: string

Language displayed name.

extensions?: readonly string[]

Supported file extensions.

filename?: RegExp

Filename expression supported by the language.

load?: (() => Promise<LanguageSupport>)

Type declaration

mime: string | readonly string[]

Language mime types.

name: string

Language name.

support?: LanguageSupport

CodeMirror language support.

Notes

It can provided directly or it will be obtained using load.

Generated using TypeDoc