This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-19
Channels
- # alda (1)
- # announcements (2)
- # babashka (14)
- # beginners (30)
- # biff (12)
- # clerk (2)
- # clj-kondo (18)
- # clj-on-windows (1)
- # clojure (98)
- # clojure-europe (9)
- # clojure-gamedev (4)
- # clojurescript (39)
- # conjure (1)
- # data-science (1)
- # emacs (25)
- # events (1)
- # fulcro (1)
- # hyperfiddle (13)
- # lsp (3)
- # malli (1)
- # membrane (10)
- # off-topic (12)
- # reagent (7)
- # scittle (21)
- # shadow-cljs (10)
Hi @borkdude. Following yesterdays chat at #C01ECA9AA74, I am working on a fork of Scittle with additional modules (MathBox.cljs for now, hopefully other viewers soon). Would you like to see such modules added to the official Scittle repo? Or is it better to keep them at a fork?
Thanks, makes sense.
Here is the fork: https://github.com/scicloj/scittle Here is the commit adding MathBox.cljs: https://github.com/scicloj/scittle/commit/eb01deb3c31fe87b729ceee4eef123d17d52491e For some reason, I could not make it render on Github Pages yet, so cannot share a link to the html result.
By the way, I found this commit by @markus.agwin quite useful as a tutorial for extending Scittle: https://github.com/kloimhardt/scittle/commit/11dd0a1d1535a0a39224a41c3e5a494036f5fe6a In general, the advice by Markus has been so helpful.
By the way, @borkdude, could you explain why you needed that special setup for Github Pages, rather than just serving the files created under Scittle's https://github.com/scicloj/scittle/tree/main/resources/public?
I meant this script: https://github.com/scicloj/scittle/blob/main/script/release.clj
@daslu but cljs-showcase has a much better setup for github pages: https://github.com/borkdude/cljs-showcase
yes I see, thanks! so much to learn from 👀
@daslu I hope you're not struggling with that gh-pages setup. Maybe it would just be easier to switch scittle to the cljs-showcase approach, I'd be open to that
Thanks so much 🙂
For now, I'm using a simplified version of your Scittle release.clj
script.
It is quite nice, actually.
Here is the gh-pages page of MathBox.cljs running with (a fork of) Scittle: https://scicloj.github.io/scittle/mathbox.html
Here is the gh-pages page of MathBox.cljs running with (a fork of) Scittle: https://scicloj.github.io/scittle/mathbox.html