dvcrn/markright

HTML Export

edbrannin opened this issue · 1 comments

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.)

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.