Copy text in a markdown preview ? #204
|
I know it is possible to copy text in other previews format like for a pdf but when I try to copy in markdown preview it just makes the error sound and doesn't copy the text. Is it happening only for me ? |
Replies: 1 comment 2 replies
|
It is not just you. The Quick Look extension renders Markdown as HTML. On macOS 12+ it returns a data-based HTML Workarounds are to open the file in an editor/viewer, or use QLMarkdown's HTML export/shortcut path and copy from the rendered HTML in a browser. I would treat selectable text inside the Quick Look preview as a feature request rather than a local configuration problem. |
It is not just you.
The Quick Look extension renders Markdown as HTML. On macOS 12+ it returns a data-based HTML
QLPreviewReply, and the older path uses aWKWebViewsubclass that explicitly cannot become the key view / first responder. That means normal text selection/copy is limited by Quick Look/WebKit behavior here, unlike PDF previews where the system preview has native selectable text.Workarounds are to open the file in an editor/viewer, or use QLMarkdown's HTML export/shortcut path and copy from the rendered HTML in a browser. I would treat selectable text inside the Quick Look preview as a feature request rather than a local configuration problem.