ox-gist

Export Org mode buffers and subtrees to GitHub gists

GPL-3.0 License

Stars
10

ox-gist.el --- Export Org mode buffers and subtrees to GitHub gists

Copyright (C) 2022 Puneeth Chaganti

This file is not part of GNU Emacs.

Licensed under the GPL version 3 or later.

Commentary

I often find myself wanting to share a subtree from or an entire Org mode file publicly. It's convenient to use GitHub gists for this, since GitHub renders Org mode syntax almost correctly. This package makes it easy to do that. The heavy lifting of creating and updating gists is delegated to @defunkt's `gist.el'.

Usage

`ox-gist' can be installed from Melpa. Once you install and load the package, you can use the `org-export-dispatch' function (usually bound to `C-c C-e') to "export" a buffer or a subtree to a GitHub gist. The Org export menu provides options to export as a public or private gist, and to open the gist in a browser after publishing it.