Shinmera / plump

Practically Lenient and Unimpressive Markup Parser for Common Lisp
https://shinmera.github.io/plump
zlib License
119 stars 21 forks source link

DOM Transformation to Indent it More Nicely #25

Open C-Entropy opened 4 years ago

C-Entropy commented 4 years ago

Could you make it serialize more human readable?

Shinmera commented 4 years ago

Huh?

C-Entropy commented 4 years ago

Emm, I mean indent the output.

Shinmera commented 4 years ago

That would have to be something that's done on the DOM level. It's also not trivial to do automatically since whitespace is significant in some cases.

Perhaps something similar to an inversion of TRIM, whatever that would look like.