Open teodorlu opened 2 months ago
Hi!
Is clerk/fragment supposed to work with the tap> viewer? If not, close this. If yes, I encountered behavior I didn't expect.
clerk/fragment
tap>
(require 'nextjournal.clerk.tap) (require '[nextjournal.clerk :as clerk]) (clerk/show! 'nextjournal.clerk/tap) (clerk/serve! {:browse? true}) (tap> (clerk/fragment (clerk/table [{:x 1} {:y 2}]) (clerk/table [{:x 3} {:y 4}]))) (tap> (clerk/fragment {:x 1} {:y 2}))
clerk/fragment works similarly for the tap> viewer and normal notebooks.
The clerk/fragment doesn't seem to work for the tap> viewer.
With io.github.nextjournal/clerk "0.16.1016", I'm seeing this:
io.github.nextjournal/clerk "0.16.1016"
clerk/col appears to be a decent alternative to clerk/fragment:
clerk/col
(tap> (clerk/col {:x 1} {:y 2}))
Hi!
Is
clerk/fragment
supposed to work with thetap>
viewer? If not, close this. If yes, I encountered behavior I didn't expect.Reproduction
Expected
clerk/fragment
works similarly for thetap>
viewer and normal notebooks.Actual
The
clerk/fragment
doesn't seem to work for thetap>
viewer.With
io.github.nextjournal/clerk "0.16.1016"
, I'm seeing this: