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.31k stars 308 forks source link

How to convert from Markdown content to PDF with Easy markdown editor? #259

Open donatellofang opened 3 years ago

donatellofang commented 3 years ago

Like the export function in dillinger .I search a markdown plugin ,easy markdown editor can't include it. Snipaste_2020-10-26_08-11-11

Ionaru commented 3 years ago

This is currently not possible from the editor itself, and building this function would be a lot of work.

You can extract the context of the editor using either easyMDE.value() for the markdown or easyMDE.markdown(easyMDE.value()) for the HTML. You can then convert and export this to any format you desire.

donatellofang commented 3 years ago

@Ionaru Appreciate the look... That should work,I'll try my best to get it.