Skip to content

Scrype allows you to present code snippet in a interesting way

License

Notifications You must be signed in to change notification settings

DevChanQ/Scrype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrype

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •