Skip to content

fiatjaf/codemirror-mode-jq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

codemirror-mode-jq

CodeMirror mode for jq filters and scripts.

how to use

This is a Simple Mode, so you must register it as a simple mode, it is not sufficient to just import it.

npm install --save codemirror-mode-jq
CodeMirror.defineSimpleMode('jq', require('codemirror-mode-jq'))

// then, later
let cm = CodeMirror.fromTextArea(textarea, {
  mode: 'jq'
})

Or do it the way you want. You get the idea.

license

ISC

About

a SimpleMode for jq on CodeMirror

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published