I have been trying to set up clay like here https://github.com/scicloj/clay/blob/main/resources/calva.exports/config.edn. I tried to use this for clay, which I think is now outdated https://github.com/Olical/conjure/wiki/Integrating-with-Clay-and-data-visualisation-tools. When I tried updating that function like this
(defn eval-clojure-for-viz []
(eval.eval-str
{:origin "custom-clay-wrapper"
:code (str.join
""
["(scicloj.clay.v2.api/make! " {:base-source-path nil
:source-path *file*
:single-form (a.get (extract.form {:root? true}) :content)} ")"])}))
I see the string form being sent to the browser like evaluating (+ 2 2) prints the form "(+ 2 2)" in the browser instead of 4. I'm not too familiar with fennel so I'm pretty sure I getting this wrong. Any help here would be appreciated.I moved this message from the neovim channel, this one seemed more appropriate to ask