在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Grafikart/JS-Markdown-Editor开源软件地址(OpenSource Url):https://github.com/Grafikart/JS-Markdown-Editor开源编程语言(OpenSource Language):JavaScript 87.5%开源软件介绍(OpenSource Introduction):WIPBICTBF : Work in progress but it's close to be finishedHow it worksTo transform a textarea in an markdown editor you just have to create a new MdEditor instance var md = new MdEditor('#mdeditor'); You can pass options as the second parameter var md = new MdEditor('#mdeditor', {
uploader: false, //'http://local.dev/Lab/MdEditor/app/upload.php?id=',
preview: true,
images: [
{id: '1.jpg', url: 'http://lorempicsum.com/futurama/200/200/1'},
]
}); OptionsI created options for my needs, if you have some new ideas, PR are welcomed.
ContributingBefore you can start you have to download you have to install npm dependencies, bower dependencies, then start gulp serve task
Then you can edit app/scripts/mdeditor.coffee to do some edits. Todo
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论