nextjournal 2022-07-08

Hey is there anyway I can package clojure-mode as a JS library to use inside a web project

@bardia.95.pourvakil Hey! I think you can. Why not?

What are the steps to do so?

I've done that myself here as well, with shadow-cljs: https://github.com/borkdude/blog/blob/main/shadow-cljs.edn

Any resources I can check out

I used this for only highlighting clojure, not anything more sophisticated

I guess this demo project is also something you can look at (even more so): https://github.com/nextjournal/clojure-mode/tree/main/demo

Maybe @andrea712 can also give some advice since he worked on this very recently

And doing this shadow cljs build will allow me to use this library inside a JS project?

@bardia.95.pourvakil my last interaction with your employer went pretty poorly so I'm not willing to put in the time to figure this out for them. And please stop spamming me with the same question on different channels.