Andrea Amantini

Results 25 issues of Andrea Amantini

[nbb ](https://github.com/babashka/nbb) is a clojure(script) interpreter running in Node and it's capable of running [nREPL and Socket REPLs](https://github.com/babashka/nbb#repl-1). It would be very nice if Cursive could be able to connect...

- [x] use bb / sci with fixed https://github.com/babashka/babashka/issues/1397 - [x] drop stubs folder in favour of `.bb` source files - [x] fix auto-resolve in edamame read for e.g. `::clerk/visibility`...

The motivation behind this is allowing cursors to be synced from within prosemirror nodes with _editable_ custom views which propagate changes to the parent prosemirror editor. See the classical example...

Fix #639. Fix #638. In scenarios like `{:nextjournal/value {:nextjournal/value x}}` normalises the envelope to just one level merging inner keys onto outer ones.

```clojure ;; # 🐞Debug (ns scratch.debug {:nextjournal.clerk/visibility {:code :hide}} (:require [nextjournal.clerk :as clerk] [nextjournal.clerk.viewer :as viewer])) {:nextjournal/value (clerk/with-viewer viewer/string-viewer "hello")} ``` the above gives: ![CleanShot 2024-03-25 at 15 34 27@2x](https://github.com/nextjournal/clerk/assets/1078464/d067ed87-c332-4ace-b982-4b1c3ae3968c)...

bug

Closes #639. Closes #638. Fixes presentation of wrapped values, so far: ```clojure (viewer/present {:nextjournal/value (clerk/with-viewer viewer/string-viewer "hello")}) ;; => [{:path [], ;; :nextjournal/value "hello", ;; :nextjournal/viewer {:name nextjournal.clerk.viewer/map-viewer, ;; :render-fn...

Reproducible by showing the following ns with clerk. Note: it won't reproduce if the `defprotocol` form (or the whole ns) is evaluated in the REPL _before_ calling `clerk/show!`. Analysis also...

bug

Explore a new setting at the level of notebook, region marker or form (via metadata) `:nextjournal.clerk/eval` with values `:sci` for evaluating the notebook in the browser's SCI context or `:skip`...

Adds wikilinks syntax. In the general context of a Clerk notebook's prose, such links will lead to the notebook associated to the (var's) namespace. * `[[some-ns]]` * `[[some/qualified-var]]` We also...

Assume we're showing a notebook at URL path `/notebooks/my-ns` and this has a link to `/notebooks/my-ns/sub`. Following the link redirects to the index. This is because we intercept the anchor...

bug