anixe / doku

fn(Code) -> Docs
MIT License
80 stars 5 forks source link

Comments in separate line #2

Closed Nutomic closed 3 years ago

Nutomic commented 3 years ago

I think it would be nice if comments in the output could be on a separate line before the data. That gives more space for comments, and also allows for multi-line comments to be included.

Maybe there could be a parameter on doku::to_json() to choose between multiple predefined output formats.

Patryk27 commented 3 years ago

Right, more customization options for the pretty-printer could certainly come handy; thanks for reporting!