15

I thought that org-mode highlighted source blocks with the relevant mode. So for example:

#+BEGIN_SRC clojure
(defn plus [a b]
  (+ a b))
#+END_SRC

This would show up with the syntax highlighting one would expect if in a Clojure buffer.

For some reason, my setup is just showing the above example in one monotone of gray.

Alex Baranosky
  • 1,069
  • 1
  • 8
  • 17

1 Answers1

16

Org-mode fontifies these blocks if you enable the corresponding setting. Try:

(setq org-src-fontify-natively t)
wasamasa
  • 21,803
  • 1
  • 65
  • 97