Last active
April 28, 2019 17:35
-
-
Save viesti/5793cb3a2c15adc09bc6fe732a6bd742 to your computer and use it in GitHub Desktop.
Clojure code highlight via Glow
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
(spit "talk-samples.html" (format "<html><head><style>%s</style></head><body>%s</body></html" | |
(g/generate-css (-> glow.colorschemes/solarized-dark | |
(dissoc :background) | |
(assoc :symbol "#0b2a34") | |
(assoc :string "#1f7a73"))) | |
(g/highlight-html (slurp "talk-samples.clj")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment