0.1.2 • Published 8 months ago
codemirror-lang-srt v0.1.2
CodeMirror 6 language For Srt files
This is a language mode for CodeMirror 6 that provides syntax highlighting for Srt files.
Usage
The package exports a single function that'll register the mode with a CodeMirror instance:
import {srt} from "codemirror-lang-srt";
srt() // This will register the mode with CodeMirror