how do i put one viewer into another?
(v/html [:div.text-center
[:button.bg-blue-500.hover:bg-blue-700.text-white.font-bold.py-2.px-4.rounded
"press"]
(v/plotly {:data [{:z [[1 2 3] [3 2 1]] :type "surface"}]})])
i’ve been trying this, but its not working. is there some way to make it happen?this should work when you wrap the v/plotly in a call to v/inspect. Plan to document this and write a bit about why that's required next week
on second thought might also make a small change to support the snippet above
what namespace is v/inspect in?
@afoltzm this the the sci env that the viewer render functions evaluate in https://github.com/nextjournal/clerk/blob/main/src/nextjournal/clerk/sci_viewer.cljs#L879
Great, thank you, I'll try it later today. Would the change work for all nested views?
ah sorry, i’m talking about clerk