https://github.com/iamspark1e/netlify-cms-widget-simplemde
A replacement of original Netlify CMS Markdown widget, using SimpleMDE (or its forks)
https://github.com/iamspark1e/netlify-cms-widget-simplemde
markdown netlify-cms
Last synced: 5 months ago
JSON representation
A replacement of original Netlify CMS Markdown widget, using SimpleMDE (or its forks)
- Host: GitHub
- URL: https://github.com/iamspark1e/netlify-cms-widget-simplemde
- Owner: iamspark1e
- Created: 2023-03-03T11:03:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T02:46:03.000Z (over 1 year ago)
- Last Synced: 2024-11-22T19:07:38.089Z (5 months ago)
- Topics: markdown, netlify-cms
- Language: JavaScript
- Homepage:
- Size: 12.6 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-decap-cms - netlify-cms-widget-simplemde - A replacement of original Netlify CMS Markdown widget, using SimpleMDE (or its forks). (Custom Widget)
README
netlify-cms-widget-simplemde
Replacement of NetlifyCMS (Decap CMS) Markdown widget
### Quick Start
Add below script code after Netlify CMS script tag,
```html
CMS.registerWidget("simplemde", SimpleMDEControl, SimpleMDEPreview);
```
Then, change your original `"widget": "markdown"` into `"widget": "simplemde"`.
Just so simple, I tested Chinese and works well. (Old markdown widget cannot input Chinese characters fluently.)
Any feature or suggests are welcomed!
### Purpose
I made this widget because the original rich-text editor is not doing well with Chinese characters (similar bugs for IME). The bug has not been solved until the CMS's name change.
> For example this, XD. 
Therefore, many features about rich text editing are NOT added into my editor. Markdown is the first.