Skip to content

zweifisch/ob-coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ob-coffee

setup

To use ob-coffee in an org-babel source block, the cofee-script language must be enabled in the custom org-babel-load-languages alist. Alternatively, running the following snippet during initialization will enable the mode.

(org-babel-do-load-languages
 'org-babel-load-languages
 '((emacs-lisp . t)
   (coffee . t)))

supported header arguments

  • session

examples

promise

#+BEGIN_SRC coffee :session async
new Promise (resolve, reject)->
    setTimeout (-> resolve "finally"), 3000
#+END_SRC

#+RESULTS:
: Promise:
: finally

About

org-babel functions for coffee-script evaluation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published