Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.15 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.15 KB

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.