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:
Add export option to export current page to HTML preserving the user’s custom.css settings.
After selecting blocks you want to copy, when you right click, add an option to “Copy (Preserve Formatting)”.
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.
I got the basic functionality for this under “Copy as Text” by adding text/html to the cilpboard. The problem is that Copy as Text as it works today only captures one block at a time, and my use-case is about grabbing a bunch of selected blocks and copying them into an email or a document.
I’ll see if I can change Copy as Text to handle multi-block selection.
Thanks Bad3r
is this feature in the online app or desktop?
I have Mac desktop, and I don’t see text nor html export option
What I see is
Export Graph and the following options
I discovered when you send me the screen shot.
but I was getting this
screen
I will have to recreate the scenario to see when and how I was getting that only.