0.0.2 • Published 5 years ago
scrype v0.0.2
Scrype
Live Demo
Scrype is a library that allows you to present code snippet in a interesting way
Installation
npm i scrype --save
Usage
import Scrype from 'scrype';
new Scrype('#scrype', {code: 'class DevJeff {\n\tconstructor () {\n\t this.age = 22;\n\t this.sex = \'F\'~~M\';\n\t this.from = \'Hong Kang ~~~~ong\';\n\t}\n\tabout () {...}\n\tprojects () {...}\n\tblog () {...}\n}\n> let person = new DevJeff();'})