hamacs/ha-org-babel.org
Howard Abrams d3f14de2ee Getting work-specific code to work
This includes some org-specific stuff, like my Sprint and clipboard code.
2021-11-05 17:06:55 -07:00

2.6 KiB

Literate Programming with Org

This section is primarily about development in a literate way, especially focused on literate devops.

Introduction

Let's turn on all the languages:

  (use-package org
    :init
    (setq org-confirm-babel-evaluate nil
          org-src-fontify-natively t
          org-src-tab-acts-natively t)
    :config
    (add-to-list 'org-src-lang-modes '("dot" . "graphviz-dot"))

    (org-babel-do-load-languages 'org-babel-load-languages
                                 '((shell      . t)
                                   (js         . t)
                                   (emacs-lisp . t)
                                   (clojure    . t)
                                   (python     . t)
                                   (ruby       . t)
                                   (dot        . t)
                                   (css        . t)
                                   (plantuml   . t))))
t