Jotted 是一个 HTML、CSS、JavaScript 演示环境,可编辑源代码。
安装:
npm: npm install --save jotted
Bower: bower install --save jotted
jsDelivr:
示例:
new Jotted(document.querySelector('#demo'), {
files: [{
type: 'css',
url: 'index.styl'
}, {
type: 'html',
content: '
}],
showBlank: true,
plugins: [ 'stylus',
{
name: 'codemirror',
options: {
lineNumbers: false
}
}
]
Jotted 遵循 MIT 开源授权协议
微信订阅号:开源派 (opensourcepie)
开源派官网:osp.io 作者:叶秀兰
联系客服