https://github.com/titaniumbones/ox-slack
Slack export backend for Eamcs org-mode
https://github.com/titaniumbones/ox-slack
Last synced: about 1 year ago
JSON representation
Slack export backend for Eamcs org-mode
- Host: GitHub
- URL: https://github.com/titaniumbones/ox-slack
- Owner: titaniumbones
- Created: 2018-10-22T23:46:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T19:32:20.000Z (about 3 years ago)
- Last Synced: 2025-04-14T05:57:37.183Z (about 1 year ago)
- Language: Emacs Lisp
- Size: 17.6 KB
- Stars: 55
- Watchers: 3
- Forks: 12
- Open Issues: 7
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* Org Slack format exporter
This is a simple exporter backend for [[https://orgmode.org/][Emacs org-mode]], derived from the builtin markdown exporter & its derived backend [[https://github.com/larstvei/ox-gfm][ox-gfm.el]]. It produces simple text output suitable for pasting into a [[https://slack.com/][Slack]] client. It works like most export backends, with two main differences:
- at present, *this exporter is not added to the export dispatcher*. It's hard to see when it would be useful to make slack-formatted files. Instead,
- this package provides the interactive function ~org-slack-export-to-clipboard-as-slack~, which copies the region to the kill-ring in slack format. From there it should be easy to paste the resultant text into your slack client.
- on the slack side, you can quickly apply the formatting by pressing Ctrl Shift F (Linux/Windows) or ⌘ Shift F (Mac).
Since slack syntax is much poorer than Org's, I've made some arbitrary choices about how to degrade it. Headlines are exported as *bolded text* on their own lines, for instance.
There are probably lots of improvements possible. Please file issues in the Github repo or discuss in the org-mode mailing list.
* Melpa
Now available in MELPA! Install with ~package-install~ or just ~(use-package ox-slack)~