https://github.com/zweifisch/ob-elixir
org-babel functions for elixir evaluation
https://github.com/zweifisch/ob-elixir
elixir literate-programming org-babel org-mode
Last synced: 4 months ago
JSON representation
org-babel functions for elixir evaluation
- Host: GitHub
- URL: https://github.com/zweifisch/ob-elixir
- Owner: zweifisch
- Created: 2015-09-29T12:53:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-07-06T06:39:03.000Z (7 months ago)
- Last Synced: 2025-07-06T07:37:33.698Z (7 months ago)
- Topics: elixir, literate-programming, org-babel, org-mode
- Language: Emacs Lisp
- Size: 2.93 KB
- Stars: 27
- Watchers: 1
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* ob-elixir
** setup
To use =ob-elixir= in an =org-babel= source block, the elixir language
must be enabled in the custom =org-babel-load-languages=
alist. Alternatively, running the following snippet during
initialization will enable the mode.
#+BEGIN_SRC emacs-lisp
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(elixir . t)))
#+END_SRC
** supported header arguments
- cookie
- name
- remsh
- sname
- session
** examples
*** connect to remote shell
: #+BEGIN_SRC elixir :remsh name@node :sname console
: Node.self
: #+END_SRC
:
: #+RESULTS:
: : :name@node