This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-30
Channels
- # adventofcode (27)
- # ai (1)
- # announcements (2)
- # aws (66)
- # babashka (2)
- # beginners (34)
- # calva (28)
- # cider (5)
- # clj-kondo (18)
- # clojure (16)
- # clojure-europe (4)
- # clojure-norway (2)
- # clojure-uk (3)
- # clojurescript (11)
- # code-reviews (23)
- # conjure (23)
- # core-logic (1)
- # cursive (12)
- # datalevin (1)
- # datomic (9)
- # introduce-yourself (3)
- # kaocha (3)
- # klipse (4)
- # malli (42)
- # midje (1)
- # minecraft (1)
- # missionary (4)
- # music (1)
- # nextjournal (10)
- # polylith (5)
- # re-frame (2)
- # reitit (1)
- # releases (1)
- # sci (126)
- # shadow-cljs (4)
- # sql (2)
- # tools-deps (11)
Jumped onto clerk today. Seems great. Is there an existing way to link between notebook files? a menu of some sort in the browser? (instead of having to run (clerk/show!)
I’m just getting started and not sure how to do it yet but it would be cool to set the viewer for the ns
form to be a little navigation widget
you can currently link between notebooks via clerk/doc-url
but this is currently a no-op in normal Clerk and works only in the static build, see it in action at https://github.com/nextjournal/clerk-demo/blob/564c42bbf92ea0e7c391d80b8675e3267a4c932a/index.md / https://nextjournal.github.io/clerk-demo/
shouldn’t be a lot of work to make it work in normal clerk mode as well and make it call clerk/show!
there when clicked
https://github.com/nextjournal/clerk/commit/eeece782025b5595d7153e3b80667925ff005265 is a small proof of concept
let clerk show https://github.com/nextjournal/clerk/blob/main/index.clj if you want to see it in action
Thanks will have a look. I ended up doing a simply poc where I just had a custom page that pulled namespaces from the file system, and then had clerk in an iframe. Ended up working nicely as I could tailor it to my specific needs