Last active
December 9, 2020 11:58
-
-
Save borkdude/412f8df1b1d8aeb971e366bbe9cb4932 to your computer and use it in GitHub Desktop.
Prism Clojure highlighting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/themes/prism-tomorrow.min.css" rel="stylesheet" /> | |
</head> | |
<body> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/components/prism-core.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/plugins/autoloader/prism-autoloader.min.js"></script> | |
<pre> | |
<code class="language-clojure"> | |
(defn foo [] | |
(+ 1 2 3)) | |
(defmacro foo [x] `(+ 1 2 ~x)) | |
{:a 1} | |
</code> | |
</pre> | |
</body> | |
</html> |
Author
borkdude
commented
Jul 2, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment