The long way through Software Craftsmanship

Inserting clojure code in octopress

Apr 14, 2015 - 1 minute read - Comments - metaoctopressbloggingcodelispclojure

Inserting this code in the blog:

```clojure
(defn all-access[k]
	(let [{:keys [a b] :as k}]
        (do a)
        (do (:b k))))
```

the octopress processor throws the error:

Error: Pygments can't parse unknown language: clojure
Error: Run jekyll build --trace for more information.

A solution would be to include it as lisp code:

```lisp
(defn all-access[k]
	(let [{:keys [a b] :as k}]
        (do a)
        (do (:b k))))
```

this is an example:

(defn all-access[k]
	(let [{:keys [a b] :as k}]
		(do a)
		(do (:b k))))