Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.38k stars 314 forks source link

I want to download markdown text using js only (no server) #470

Closed MohamedAliRashad closed 2 years ago

MohamedAliRashad commented 2 years ago

I think this is an easy thing to do, but the problem is that i have no idea how to do it

Ionaru commented 2 years ago

Yes it's very easy, you can use easymde.value() to get the markdown text from the editor.

https://github.com/Ionaru/easy-markdown-editor#editor-functions

MohamedAliRashad commented 2 years ago

@Ionaru it worked, thaks