I often have the need to copy & paste code from a snippet, and clicking + selecting + ctrl+c is somewhat cumbersome.
Github has a nice feature where focusing / hoovering over a markdown code-block shows a little copy-button (example: markdown-it/sample.md at master · markdown-it/markdown-it · GitHub) - i think this would be a really great feature for logseq.
This would be awesome! Find myself needing this often.
+1 to this. Would be very helpful!!!
+1 ! This would be very helpful!
Try the “Copy Code” plugin
1 Like
+1 It is a “MUST” in modern world!!!
Or you can add the following in your custom.js
file:
It is technically possible to install copy buttons on Logseq. I have tried it. Due to the high number of votes, I would like to add improvements to the Logseq core, not plugins or the javascript code. (“Copy Code” plugin is excellent.) I will make a pull request after it has been released using the feat-db branch.
2 Likes