This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-03
Channels
- # babashka (17)
- # beginners (166)
- # calva (97)
- # cider (4)
- # clara (2)
- # clj-kondo (46)
- # cljsrn (5)
- # clojure (334)
- # clojure-canada (1)
- # clojure-dev (144)
- # clojure-europe (14)
- # clojure-germany (5)
- # clojure-nl (10)
- # clojure-spec (1)
- # clojure-uk (46)
- # clojurescript (50)
- # conjure (1)
- # core-async (52)
- # core-typed (5)
- # cursive (3)
- # datomic (3)
- # emacs (11)
- # figwheel (16)
- # figwheel-main (9)
- # fulcro (29)
- # graalvm (19)
- # graphql (14)
- # helix (46)
- # hoplon (4)
- # hugsql (2)
- # jobs (2)
- # jobs-discuss (1)
- # juxt (15)
- # kaocha (6)
- # off-topic (9)
- # pedestal (7)
- # portkey (7)
- # re-frame (10)
- # reagent (29)
- # shadow-cljs (13)
- # spacemacs (70)
- # sql (13)
- # tools-deps (26)
- # xtdb (23)
I think most juxters used the adoc mode, then stopped because it made text different sizes.
I (and probably most other juxters) use the asciidoctor.js browser extension and have the file I'm editing open in the browser and use that as a preview, the only emacs config is to center the text and stop overflowing lines getting cut in horrible ways. Only issue is you have to save to see the preview
Just that it’s all done for you, getting a working setup is just open the file in emacs and space f o to render it, no need to setup a watcher or deal with jruby shenanigans
Made myself a babashka watch + refresh browser script. https://github.com/babashka/book/blob/master/script/watch.clj Demo:
Very cool, I’ve found myself using babashka (and kondo) a fair amount recently and I’m very happy with them
Actually could probably make a decent static site tool with babashka + asciidoc, hmm idea...
For static sites there's also bootleg which can be used as a pod (cmd line tool as clojure library) in babashka: https://github.com/retrogradeorbit/bootleg A demo: https://github.com/borkdude/michielborkent.nl/blob/master/script/generate.clj
it doesn't support asciidoc though. is there a Java / clojure library for asciidoc? maybe it could add it.
We use this, it works but it’s not the most performant and you get some funky errors https://github.com/asciidoctor/asciidoctorj