Skip to content

chinchang/code-blast-codemirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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