clerk

2024-08-15T12:57:08.693759Z

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

Andrea 2024-08-15T13:12:18.298469Z

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
2024-08-15T13:26:59.904709Z

I'll give it a go

2024-08-15T15:50:43.701439Z

that works thx @andrea712!

πŸ™Œ 2
2024-08-15T12:57:16.151339Z

(other than that it is lovely)

teodorlu 2024-08-15T13:18:47.777739Z

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
mkvlr 2024-08-15T13:20:07.035869Z

yes, and we also added clerk/comment

πŸ‘ 1
teodorlu 2024-08-15T13:23:34.480909Z

Yeah, that one's really nice too!