8000 `clerk/fragment` doesn't appear to work in the `tap>` viewer · Issue #690 · nextjournal/clerk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
clerk/fragment doesn't appear to work in the tap> viewer #690
Open
@teodorlu

Description

@teodorlu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0