codemirror-lang-srt
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i codemirror-lang-srt

Weekly Downloads

2

Version

0.1.2

License

MIT

Unpacked Size

6.26 kB

Total Files

7

Last publish

Collaborators

  • fanrende