kessler / license-report

create a short report about a project's dependencies (license, url etc)
MIT License
223 stars 39 forks source link

Markdown Output #115

Closed mariusmuntean closed 1 year ago

mariusmuntean commented 1 year ago

It would be useful if Markdown was added to the available outputs. The default table is already great, but if it were possible to have a Markdown table then the results could be rendered nicely without any post processing.

BePo65 commented 1 year ago

Good idea. The default (internal) format is json. Can I motivate you to create a json-to-md-formatter, e.g. by using the tablemark package ?-)

mariusmuntean commented 1 year ago

I gave it a shot in #116

BePo65 commented 1 year ago

Give me a few days for a deeper look - especially I am thinking about the configuration for the tablemark package.

mariusmuntean commented 1 year ago

Sure, take your time. I though about exposing some of tablemark's features, e.g. aligning the field values in the table cell. Without clear requirements, I opted for the simplest implementation that works. let me know which of tablemarks's features you think are a must here.

mariusmuntean commented 1 year ago

Did you get a chance to think about this?