Fork me on GitHub
#nextjournal
<
2021-11-06
>
henrik4210:11:29

Nextjournal newbie here. I understand that Clerk has no built-in editor. Is there some lib that people use to add editor funtionality so that you can both live edit the clojure sources and eval them with Clerk in a browser? I found https://github.com/oakes/Nightlight but that has been archived.

mkvlr10:11:47

We built https://github.com/nextjournal/clojure-mode which gives you a decent editing experience that also powers Clojure editing on http://nextjournal.com. Letting folks opt into Clerk evaluation semantics on http://nextjournal.com is not possible yet but it’s something we’re thinking about.

henrik4213:11:40

So clojure-mode is for the browser front end. Is there an OS clojure backend like Nightlight has that works with clojure-mode?

mkvlr13:11:25

not that I know

borkdude10:11:38

Better Clojure highlighting with #nextjournal clojure-mode: https://blog.michielborkent.nl/better-clojure-highlighting.html I got it down to 200kb (79kb gzipped) now.

👍 2
Daniel Slutsky18:11:54

BTW Clerk is being used a lot in the Scicloj group sessions this weekend. It is bringing lots of joy. A few of these sessions are previews of the workshop events we're having this month, so more Clerk use is expected.

🖤 2
❤️ 1
💙 1
💜 1
mkvlr18:11:00

That's great to hear, thank you! Also for suggesting to submit the talk

🙏 1