simarkdown
A simple, beautiful, and embeddable JavaScript Markdown editor
Last updated 3 years ago by youngluo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install simarkdown 
SYNC missed versions from official npm registry.

simarkdown (fork by simplemde-markdown-editor)

安装

通过 npm

npm install simarkdown --save

配置(以下是更改部分)

  • promptURLs(废弃)
  • autosave.delay(废弃)
  • imageUploadConfig(新增,可实现本地上传图片)
    • url [string]:图片上传地址
    • fileFieldName [string]:图片上传字段名
    • data [object]:上传需要携带的额外数据
    • wrapperClass [string]:指定弹出层的父类,默认为body
    • withCredentials [boolean]:是否携带跨域请求凭据
    • headers [object]:自定义请求头

使用详情见simplemde-markdown-editor

Current Tags

  • 1.1.0                                ...           latest (3 years ago)

2 Versions

  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |