Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chinchang/code-blast-codemirror
✨Particles blasts while typing in Codemirror
https://github.com/chinchang/code-blast-codemirror
Last synced: 3 days ago
JSON representation
✨Particles blasts while typing in Codemirror
- Host: GitHub
- URL: https://github.com/chinchang/code-blast-codemirror
- Owner: chinchang
- License: mit
- Created: 2015-11-29T09:11:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T06:51:21.000Z (over 6 years ago)
- Last Synced: 2024-10-29T16:57:11.109Z (4 months ago)
- Language: JavaScript
- Homepage: http://kushagragour.in/code-blast-codemirror/demo/
- Size: 1.89 MB
- Stars: 349
- Watchers: 29
- Forks: 81
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Code-blast plugin for Codemirror
This is a quick Codemirror port of [lovely experiement by Joel Besada](https://twitter.com/JoelBesada/status/670343885655293952).
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](https://rawgit.com/chinchang/code-blast-codemirror/master/demo/index.html)

```js
var cm = CodeMirror(document.body, {
blastCode: { effect: 1}, // `effect` can be 1 or 2
}
```### Coming up
- Configurable options