Fork me on GitHub
#nextjournal
<
2021-11-17
>
Ash20:11:58

👏 for Clerk. But was 20 an arbitrary cut-off for eliding?... I’m using build-static-app! and it would be nice if the 20 cut-off was actually a parameter. I’m working around by slicing into sub-sequences with length <= 20, then visualising each one of those sub-sequence.

mkvlr20:11:18

hey 👋 you can change this by changing the :n value in :fetch-opts in the viewer, should be around here https://github.com/nextjournal/clerk/blob/main/src/nextjournal/clerk/viewer.cljc#L158

mkvlr20:11:24

you can override the defaults by updating the value in the !viewers atom in :root or change things using clerk/set-viewers! per namespace

mkvlr20:11:44

though documentation is currently a bit sparse on this, but we’re working on it

Ash22:11:28

👍😃 ….great, thank you for letting me know about those options to override.