Force newlines within reader conditionals #323
Replies: 1 comment
-
This is an interesting one, since there is no current code to place additional newline between list elements. So we end up with another guide, this one actually having to look at the data and create a guide vector unique to each call. But we have the tools for that. I can make this a standard "style" if you like what it does, but until I do that, if you put this into your configuration:
And then this this style:
I think you will get what you want. Note that this will put a blank line between every element in a vector where the first vector element is a list that starts with a Let me know how it goes. If this is useful, I can put it in the style-map and then you won't have to configure it directly. |
Beta Was this translation helpful? Give feedback.
-
Hi again Kim,
as you noticed I am going through my zprint configuration and try and improve it :D
My next task is to format this:
to this
Basically there should be a newline between the
defn
s, better visual clarity.I tried to use
:respect-nl?
but as per your docs it cannot be used on:reader-cond
so I was wondering if there is a better way.Thank you in advance Kim 😄
Beta Was this translation helpful? Give feedback.
All reactions