Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clerk/fragment doesn't appear to work in the tap> viewer #690

Open
teodorlu opened this issue Sep 16, 2024 · 1 comment
Open

clerk/fragment doesn't appear to work in the tap> viewer #690

teodorlu opened this issue Sep 16, 2024 · 1 comment

Comments

@teodorlu
Copy link
Contributor

teodorlu commented Sep 16, 2024

Hi!

Is clerk/fragment supposed to work with the tap> viewer? If not, close this. If yes, I encountered behavior I didn't expect.

Reproduction

  (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}))

Expected

clerk/fragment works similarly for the tap> viewer and normal notebooks.

Actual

The clerk/fragment doesn't seem to work for the tap> viewer.

With io.github.nextjournal/clerk "0.16.1016", I'm seeing this:

image

@teodorlu
Copy link
Contributor Author

teodorlu commented Oct 2, 2024

clerk/col appears to be a decent alternative to clerk/fragment:

  (tap> (clerk/col {:x 1} {:y 2}))

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant