Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/punchagan/ox-gist
Export Org mode buffers and subtrees to GitHub gists
https://github.com/punchagan/ox-gist
emacs gist github org-mode
Last synced: about 1 month ago
JSON representation
Export Org mode buffers and subtrees to GitHub gists
- Host: GitHub
- URL: https://github.com/punchagan/ox-gist
- Owner: punchagan
- License: gpl-3.0
- Created: 2022-03-07T19:52:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-10T20:34:29.000Z (almost 3 years ago)
- Last Synced: 2024-12-27T06:32:13.580Z (about 2 months ago)
- Topics: emacs, gist, github, org-mode
- Language: Emacs Lisp
- Homepage:
- Size: 33.2 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ox-gist.el --- Export Org mode buffers and subtrees to GitHub gists
Copyright (C) 2022 Puneeth Chaganti
* Author: Puneeth Chaganti
* Created: 2022 March 08
* Version: 0.3
* Package-Requires: ((emacs "26.1") (gist "1.4.0") (s "1.12.0"))
* Keywords: org, lisp, gist, github
* URL: https://github.com/punchagan/org2gist/This file is not part of GNU Emacs.
Licensed under the [GPL version 3](http://www.gnu.org/licenses/) 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.