flâneur — a map of the web's best reading

CodeMirror: Simple Mode Demo

codemirror.net · 661 words · saved by 1 readers

The mode/simple addon allows CodeMirror modes to be specified using a relatively simple declarative format. This format is not as powerful as writing code directly against the mode interface, but is a lot easier to get started with, and sufficiently expressive for many simple language modes.

Simple Mode Demo The mode/simple addon allows CodeMirror modes to be specified using a relatively simple declarative format. This format is not as powerful as writing code directly against the mode interface , but is a lot easier to get started with, and sufficiently expressive for many simple language modes. This interface is still in flux. It is unlikely to be scrapped or overhauled completely, so do start writing code against it, but details might change as it stabilizes, and you might have to tweak your code when upgrading. Simple modes (loosely based on the Common JavaScript Syntax Highli

Explore this link on the map →

related reading