Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Org-mode + KLIPSE to demo Clojure code
#+html_head_extra: <link rel="stylesheet" type="text/css" href="" />
Some Clojure code:
#+BEGIN_SRC clojure
(map inc '(1 2 3))
That's it.
#+html: <script type="text/javascript">window.klipse_settings = {selector: '.src-clojure'};</script>
#+html: <script src=""></script>

This comment has been minimized.

Copy link
Owner Author

commented Dec 6, 2016

Now export with C-e h h and browse the .html file. Da-da!

See for more.


This comment has been minimized.

Copy link

commented Dec 8, 2016

Nice! You can even put the codemirror.css at the end if you want. Then the 3 lines of script tags are bundled together...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.