Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 799 Bytes

org-mode.org

File metadata and controls

31 lines (25 loc) · 799 Bytes

#+title Org-Mode #+author Daan van Berkel #+email [email protected]

Org Mode is a marvellous mode indeed. It can do a number of wonderful things.

Code evaluation

One of the interesting capabillities to evaluate code in blocks. Documentation about this feature tells how to configure the languages that are can be used for evaluation.

(org-babel-do-load-languages
 'org-babel-load-languages
 '((emacs-lisp . t)
   (js . t)
   (perl . t)
   (python . t)
   (ruby . t)
   (sh . t)
  ))

Syntax Highlighting

The variable org-src-fontify-natively has to be set to highlight exported source blocks.

(setq org-src-fontify-natively t)