estately / rets

A pure-ruby library for fetching data from RETS servers
https://github.com/estately/rets
127 stars 94 forks source link

adds basic markdown formatting to tree output #203

Closed ivar closed 7 years ago

ivar commented 7 years ago

This somewhat invasively changes the output format of the 'print_tree' method, in some cases replacing the leading whitespace with markdown title characters.

I've found it nice to dump the metadata into our project and link to the Github rendered markdown in documentation.

If you're not keen on this PR as it is, would you be open to me adding a switch to use markdown rendering an additional optional argument to the print_tree methods?

dougcole commented 7 years ago

print_tree was designed to be used by people, not as an api, so an invasive change doesn't sound too scary to me. This makes sense to me - thanks!