Fork me on GitHub
#clerk
<
2023-07-24
>
seb23112:07:15

Is it possible to make a page break using clerk/md?

seb23112:07:19

(defn bar [s]
  [(str "Hello " s)
   (clerk/md "---")])

(clerk/fragment (mapcat bar ["Person 1" "Person 2" "Person 3"]))

seb23112:07:30

I'm trying to use clerk/fragment to automatically create new slides using slideshow/viewer

Andrea12:07:49

I don’t think that works in the current implementation. But I guess you could adjust the partitioning function https://github.com/nextjournal/clerk-slideshow/blob/11a83fea564da04b9d17734f2031a4921d917893/src/nextjournal/clerk_slideshow.clj#L29-L34 in a custom notebook viewer, maybe.

seb23114:07:23

that's a shame. Think I need to brush up how viewers actually work! Thanks @U9EQP1K0X 👍