Skip to content
Copy formatted content from org-mode
Emacs Lisp
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.

ox-clip - Cross-platform Formatted copy commands for org-mode

This module copies selected regions in org-mode as formatted text on the clipboard that can be pasted into other applications. When not in org-mode, the htmlize library is used instead.

For Windows the script will be installed in the ox-clip install directory. It works pretty well, but I noticed that the hyperlinks in the TOC to headings don’t work, and strike-through doesn’t seem to work. I have no idea how to fix either issue.

Mac OSX needs textutils and pbcopy, which should be part of the standard utilities available on MacOSX.

Linux needs a relatively modern xclip.

There is one command: =ox-clip-formatted-copy that should work across Windows, Mac and Linux. I recommend you bind this to a key. I like H-k (Hyper-k).

Note: This file was extracted from to make a smaller repo for MELPA (see I extracted it using this git wizardry from: This seems to have retained the history on the file modifications.

cd /path/to/scimax
git log --pretty=email --patch-with-stat --reverse --full-index --binary -- ox-clip.el > /tmp/patch

cd ~/tmp
mkdir ox-clip
git init
git am < /tmp/patch
git remote add origin
git push -f origin master
You can’t perform that action at this time.