codemirror-activine

Active line highlighter addon for codemirror

npm install codemirror-activine
2 downloads in the last week
4 downloads in the last month

codemirror-activine

Simple code-mirror plugin for highlighting active line.

Usage

// require plugin
var activine = require("codemirror-activine")

// Install plugin
activine(CodeMirror)

var myCodeMirror = CodeMirror(document.body, {
  // ...
  activeLine: true // enable active line highlighting
})

Install

npm install codemirror-activine
npm loves you