How to export query results as markdown or rich text?

I am using a query to compile pages and blocks with various criteria in order to organize a know how transfer. I would love to copy or export the page in rich text or markdown in order to send it over to the colleague.

Unfortunately, exporting the page does not work this way, as the found blocks are not exported, but only the fragment {query ....}. Also copy & paste does not work, as the blocks are not selected correctly.

Is there a way to export the query results nicely?

4 Likes

The only way I know is using this command line tool:

1 Like

Thank you. That is quite odd that this is not a standard in the export or copy/copy as function.

4 Likes

One tip I can give is to take a picture of the screen and let some OCR-capable program recover the text for you. There are plenty of those integrated in modern smartphones. It is a dirty workaround, but hey! - it works…

Posted another work-around here:

Any other progress on this?

If we analyse the concept of a “query” as a request for information or a specific action, typically in the context of searching for data, asking a question, or making a request of a system or service… why on earth printing or exporting the outcome as flat text is not an out-of-the-box Logseq option?