clay icon indicating copy to clipboard operation
clay copied to clipboard

unable to configure `:hide-code true` through namespace-level kindly options

Open daslu opened this issue 10 months ago • 2 comments

In the following namespace:

(ns ^{:kindly/options {:hide-code true}}
    my-namspace)

(+ 1 2)

the rendered page does show the code, which is a bug.

daslu avatar Feb 08 '25 08:02 daslu

I am just wondering if this is not better called a "clay option".

Just from the reflection, that this cannot be implemented in clojupyter.

behrica avatar Feb 08 '25 09:02 behrica

Indeed, it is not obvious, but since it was documented some time ago and we try to keep Clay stable, I would prefer not to change it. Also, it can be relevant to future notebook tools. We try to mention the tools in the body of the notebook as little as possible.

daslu avatar Feb 08 '25 16:02 daslu