Quickly Copy Code and Example Block Contents in Emacs Org Mode 0 ▲ Helen Chong's Developer Blog 1 hour ago · Tech · hide · 0 comments As I switched to Emacs (with Doom Emacs) as my main code editor, I had also begun to explore Org Mode, and later migrate most of my notes from Obsidian to Org mode, by using Pandoc and the Obs2Org Python package to convert my notes from Markdown format to Org format. This means Org Mode has become my primary note-taking tool. As a coder and Linux user who likes to customise the tools they use, I have taken a lot of notes that contain code blocks, as well as text blocks to use in my configuration files. When Obsidian renders a code block in a Markdown note file, it automatically provides a button to allow you to copy the contents of a code block in one click. Org Mode includes code blocks among its features, but it lacks a built-in feature to quickly copy the contents of a code block, so by default, you have to highlight the text, then copy the text. I find it handy to be able to quickly copy the contents of a code block in a single action (which is also why I added a copy button to… No comments yet. Log in to reply on the Fediverse. Comments will appear here.