clerk 2024-08-15

is there a way to get a `SQL block to be the full width in clerk? I've got a full width row, but can't get the quoted source block to fill it whole width and I'm getting a horizontal scroll bar before I'd like

I don’t think we allow markdown fenced blocks to take full width. You could use a clojure result to display sql code like in

(clerk/code {::clerk/width :full
             ::clerk/render-opts {:language "sql"}}
            "SELECT * FROM 'table'")
not sure if that helps

βž• 1

that works thx @andrea712!

πŸ™Œ 2

(other than that it is lovely)

Did nextjournal.clerk/example get revamped styling in 0.16.1016? If yes, I like it a lot! Left is what I've seen before, right is what I'm seeing now.

πŸ‘ 1

yes, and we also added clerk/comment

πŸ‘ 1

Yeah, that one's really nice too!