This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-02-13
Channels
- # announcements (1)
- # babashka (28)
- # beginners (72)
- # biff (6)
- # calva (15)
- # clerk (14)
- # clj-otel (4)
- # cljdoc (4)
- # clojure (121)
- # clojure-europe (61)
- # clojure-nl (2)
- # clojure-norway (63)
- # clojure-uk (5)
- # datahike (35)
- # datalevin (37)
- # datomic (7)
- # emacs (2)
- # fulcro (6)
- # gratitude (1)
- # honeysql (2)
- # hyperfiddle (38)
- # malli (9)
- # matrix (24)
- # meander (4)
- # off-topic (10)
- # polylith (8)
- # reagent (2)
- # releases (1)
- # shadow-cljs (8)
- # spacemacs (4)
- # specter (1)
- # squint (5)
- # tools-deps (3)
Any tips for placing an image at a point on a clerk notebook? For example as if it was right aligned?
If you mean how to place images from cell results, you might nest them inside clerk/html
like so:
(clerk/html
[:div.flex.justify-end
(clerk/image "some-image.png")])
and use the markup that best fits your use case (e.g using https://tailwindcss.com/docs/flex-basis)Is there a recommended way to display a table wider than the default width? Iāve got a table with lots of columns, and Iād like to use more space to show the table.
Iām looking into the data on my personal web site. Earlier, I just used the terminal. Putting a big table on a big screen was super helpful.
(defn big-table [x]
(v/with-viewer (dissoc v/table-viewer :page-size)
x))
^{::clerk/width :full}
(big-table
(->> (cli/files->relations {})
vals
(sort-by :slug)))
Did I tell you earlier that I think Clerk is great? I might have to tell you again š
I feel like I've seen this asked several times before but I can't seem to find the answer: How do I get local images in my notebook to appear in the static version?
One option is clerk/image
and
.
A limitation then is SVG support, I donāt think java images support SVG natively. For SVG, reading the raw file and then viewing with clerk/html
worked for me.
Both screenshots are taken from Clerk garden, so Iād say thatās a āstatic versionā.
What are you expecting and what isnāt working? Iāve felt like the book answered how to show images well for my use cases.