Git Product home page Git Product logo

ox-slack's Introduction

Org Slack format exporter

This is a simple exporter backend for Emacs org-mode, derived from the builtin markdown exporter & its derived backend ox-gfm.el. It produces simple text output suitable for pasting into a 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)

ox-slack's People

Contributors

chenl avatar titaniumbones avatar xuchunyang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.