dvcrn / markright

➡ Electron powered markdown editor with live preview
GNU General Public License v3.0
914 stars 55 forks source link

HTML Export #50

Open edbrannin opened 8 years ago

edbrannin commented 8 years ago

It would be helpful if there were a menu item (or whatever) that would let me Export Generated HTML.

Suggestions:

  1. File -> Export HTML...
  2. Edit -> Copy as HTML
    • This would copy a fragment, no surrounding <html><body>

(I'm currently using MarkRight to write in a sane environment and then paste HTML into a CMS input.)

edbrannin commented 7 years ago

I tried to implement (Export|Copy) as (HTML|Rich Text) but I had a hard time wrapping my head around clojure -- specifically, how best to create or provide a Markdown instance to the menu-handlers.

Might you be available to chat about this someday in the next month-or-few?

If you prefer, I can make a PR with my very-not-working-yet code and discuss from there.