This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-24
Channels
- # announcements (7)
- # babashka (5)
- # babashka-sci-dev (20)
- # beginners (125)
- # biff (98)
- # catalyst (1)
- # clerk (37)
- # clj-kondo (6)
- # clojure (49)
- # clojure-dev (18)
- # clojure-europe (6)
- # clojure-uk (2)
- # data-science (17)
- # deps-new (20)
- # emacs (11)
- # helix (5)
- # hyperfiddle (34)
- # malli (3)
- # missionary (4)
- # reitit (4)
- # sci (15)
- # solo-full-stack (7)
- # sql (5)
- # testing (2)
What is a good way to include interactive, SCI-powered examples in a web page? Currently I use just a textarea
but something with code highlighting and perhaps some editing niceties would be better. Klipse, perhaps? What do you folks use? 🙏
Awesome, thank you! I never heard about it before đź‘€
Thx for the pointer! I did not really understand how to integrate it into my static blog from c.-m.’s page, so looking at 4clojure might help. (I guess I need to use shadow to build my own release .js with c.-m. and sci…)
Looking at both clojure-mode’s demo and https://github.com/oxalorg/4ever-clojure/blob/main/src/app/sci.cljs , it looks very Ikea-ish, i.e. considerable assembly required…
@U0522TWDA for a lighter weight integration, you can check out the source of https://babashka.org/scittle/codemirror.html - it's doe all through lang-clojure which is available via npm
Re-trigger: there's this issue which fails stuff. I'll not let that get in the way of your PR: https://github.com/babashka/sci/issues/902
A pity I don’t have windows :’(
What is the difference between clojure-lang and clojure-mode, do you know?
clojure-mode uses lang-clojure, lang-clojure is a more low level building block
lang-clojure can be used directly from npm, clojure-mode only from CLJS at the moment (but working on it)
It’s fine for me, I need to run some build anyway to pack it with my sci.config and fulcro…