code-blast-codemirror

1.0.0 • Public • Published

Code-blast plugin for Codemirror

This is a quick Codemirror port of lovely experiement by Joel Besada.

Simply put code-blast.js in your project and set the blastCode option to true when initializing codemirror. This library comes with inbuilt 2 types of effect.

Live Demo

Demo

var cm = CodeMirror(document.body, {
    blastCode: { effect: 1}, // `effect` can be 1 or 2
}

Coming up

  • Configurable options

Package Sidebar

Install

npm i code-blast-codemirror

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.82 MB

Total Files

320

Last publish

Collaborators

  • chinchang