Add either export to html or ability to copy while preserving format

It would be nice if we had some way get the contents of the file in a more formal format such as html, to make pasting it into emails or other forms of communication easier. For that I think either of these 2 options would be great:

  1. Add export option to export current page to HTML preserving the user’s custom.css settings.
  2. After selecting blocks you want to copy, when you right click, add an option to “Copy (Preserve Formatting)”.

Very good suggestions!

I could probably implement a first pass at “Copy as HTML” so that a block like this is __mark__**down** could be copied as this is <italic>mark</italic><bold>down</bold> and could be pasted into your email / google docs.

When you say “The user’s custom.css settings are preserved” what do you mean?

@bensu - That would be awesome if you could add the “Copy as HTML” option!

Regarding the 2nd piece: Users can define their own CSS styles that’s stored in “logseq/custom.css” to change the look of elements in LS. So my suggestion was to retain this formatting from the user’s custom.css when the page is exported to HTML, I think it would only make sense to apply this when exporting the page to HTML tho and not for the copy option.