ngx-easymde
An Angular wrapper for the Easy MarkDown Editor originally derived from Angular for simplemde(Markdown Editor) by 卡色 cipchk.
Usage & Demo
Installation instructions
-
Install
ngx-easymde
fromnpm
npm add ngx-easymde --save -
Import the
EasymdeModule
into your rootAppModule
(app.module.ts
).;To set global options, pass them to the
forRoot
function.EasymdeModule.forRoot, -
Add
easymde.min.js
and styles toangular.json
."styles":,"scripts": -
Add easymde style.
// src/style.scss;// Change existing parameters here:@easymde-icon-url: 'icons.zip';@easymde-statusbar-lines: 'lines:';@easymde-statusbar-words: 'words:';@easymde-statusbar-characters: 'chars :';@easymde-statusbar-counts: 'count :'; -
Enjoy!
;;
Troubleshooting
Please follow this guidelines when reporting bugs and feature requests:
- Use GitHub Issues board to report bugs and feature requests; we will not respond to email submissions.
- Please always provide the steps to reproduce the error. That way we can focus on fixing the bug, not trying to reproduce it.
Thanks for understanding!
MIT License
See the LICENSE file for the full text.