orion-yuchg-markdown
v0.3.0
Published
yuchg markdown packages
Downloads
131
Maintainers
Readme
yuchang-markdown
可视化脚本编辑工具Yuchang的插件库,提供Markdown相关的Block定义, 注意:yuchg版本必须1.2.0以上
使用步骤
- (1)安装 npm install --save yuchg-markdown
- (2)引入
import yuchg from 'yuchg'
import markdown from 'yuchg-markdown'
import 'yuchg/css/style.css'
let editor = yuchg.Scratch.init(dom)
editor.setOption({
packages: [markdown]
})