clerk

narimiran 2025-11-30T06:07:52.456859Z

Is it possible to define {:nextjournal.clerk/visibility {:code :show :result :hide}} for all defn /`defn-` forms in a namespace (and just for them)?

borkdude 2025-12-01T09:49:43.458509Z

I don't think so

mkvlr 2025-12-03T03:12:08.120749Z

it’s possible by modifying the cell viewer like here https://github.com/nextjournal/clerk/blob/c0b56ff8e470aa0e122f6588b18d52013d23cfb1/notebooks/viewers/context.clj#L53-L69

πŸ‘ 1
narimiran 2025-12-03T04:54:16.319839Z

Thanks @mkvlr, I'll try it later today (after I finish today's AoC task :))

borkdude 2025-12-14T14:03:46.161989Z

Same question here: https://github.com/nextjournal/clerk/discussions/789

πŸ‘ 1
πŸ™ 1