Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Scrype

Live Demo

Scrype is a library that allows you to present code snippet in an interesting way

Installation

npm i scrype --save

Usage

import Scrype from 'scrype';

let options = {
  onProgress: (progress) => {
    ...
  },
  pixelPerStep: 3,
  position: 'top',
  codeContainerSelector:'#code-container',
  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();'
}

new Scrype('#scrype', options)

About

Scrype allows you to present code snippet in a interesting way

Resources

License

Releases

No releases published

Packages

No packages published