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? ;)
@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
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 :)
means we need to wrap up: • https://github.com/nextjournal/markdown/pull/4 • https://github.com/nextjournal/clojure-mode/pull/25 from there, it should not be a lot of work to adjust https://snapshots.nextjournal.com/markdown/build/8f8372e5584dba4e1f86e38f3e4aca2e20dceeb4/index.html#/notebooks/try.clj to get a playground based on a markdown file
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
Cc @jackrusher
@borkdude yeah, definitely something that should exist
@jackrusher has joined the channel