You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One drawback of working with quoted clojure forms in Adorn right now is the lack of line breaks and spaces. Both of these are discarded by the reader before the form gets processed by Adorn, which results in unwieldy display for large forms. This isn't a problem for strings, because the whitespace gets represented as a rewrite-cljWhitespaceNode when read by rewrite-clj.parser.
This is where a source code formatting tool may be helpful. Both cljfmt and zprint use rewrite-clj internally. Is there a way that I could somehow optionally get a "formatted" Node back from one of those tools before converting it to Hiccup?
The text was updated successfully, but these errors were encountered:
One drawback of working with quoted clojure forms in Adorn right now is the lack of line breaks and spaces. Both of these are discarded by the reader before the form gets processed by Adorn, which results in unwieldy display for large forms. This isn't a problem for strings, because the whitespace gets represented as a
rewrite-clj
WhitespaceNode
when read byrewrite-clj.parser
.This is where a source code formatting tool may be helpful. Both
cljfmt
andzprint
userewrite-clj
internally. Is there a way that I could somehow optionally get a "formatted"Node
back from one of those tools before converting it to Hiccup?The text was updated successfully, but these errors were encountered: