sci 2022-07-01

If I wanted to create a browser-playground for a specific library, where should I start? Is there a repo I could use as a starting point?

@mkvlr ^ I keep hearing this question over and over. We should maybe build something? ;)

❤️ 2

@martinklepsch You could maybe start with https://nextjournal.github.io/clojure-mode/ and then add your own library in the mix.

Anything I'm not aware of?

I think you're aware of most things

👍 1

maybe not that codemirror 6 supports embedded grammars

so once we wrap up the migration to 6.0 we can have clojure mode embedded in markdown code fences

Not sure what it means, but it surely sounds interesting :)

moving clerk’s parsing to a cljc ns is something I’m also looking at

that was painless and all those deps should work in cljs, correct?

at least the deps I'm familiar with, yes :)

I vouch for the one with nextjournal. and if I’m not mistaken you’re mainting all the other ones except clojure.core 🙃

indeed haha

@martinklepsch I'd recommend starting from https://github.com/nextjournal/clojure-mode/pull/25 which we'll wrap up next week, this adds support for Clerk's viewers to it (besides upgrading Codemirror & other deps)

clojure-mode looks awesome really awesome! Ideally I was looking for something that would be more a matter of configuring+deploying rather than building 😅 But seems like clojure-mode would be an amazing foundation for that

@borkdude yeah, definitely something that should exist