DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.94k stars 1.45k forks source link

New Converters Idea -> JSON <> MARKDOWN #987

Closed DeonPieterse closed 2 months ago

DeonPieterse commented 10 months ago

What improvement do you think would an existing feature or tool in DevToys?

I think it would be cool to have a converter like you have JSON <> YAML but for JSON <> MARKDOWN.

The reason I think this is a good feature is that sometimes we want to easily document, for instance our configuration files and the values inside of it.

Now if I could easily convert my JSON config file to a MARKDOWN table for instance, that would be convenient!

Example of where it could go: image

Solution/Idea

I think it would be cool to have a converter like you have JSON <> YAML but for JSON <> MARKDOWN.

The reason I think this is a good feature is that sometimes we want to easily document, for instance our configuration files and the values inside of it.

Now if I could easily convert my JSON config file to a MARKDOWN table for instance, that would be convenient!

Example of where it could go: image

Comments

No response

veler commented 7 months ago

We added a JSON Array > Table in DevToys 2.0. It allows to export the table to CSV format. Perhaps we could add Markdown

image

veler commented 7 months ago

Please do! 😁 Thanks for suggesting your help! Make sure to work from 'dev/2.0' branch, as DevToys 2.0 implementation is completely different than 1.0 (main branch).

ppatel1604 commented 7 months ago

@veler Can I work on this if it's not assigned to anyone?

ppatel1604 commented 7 months ago

Thanks @veler Happy to help and learn more about it 😄

veler commented 7 months ago

Thanks! Here is an entry point :

https://github.com/veler/DevToys/blob/dev/2.0/src/app/dev/DevToys.Tools/Tools/Converters/JsonTable/JsonTableConverterGuiTool.cs

Make sure to read the CONTRIBUTING file in this branch to setup your environment. We're also happy to listen to how hard it is to work on the repository.

veler commented 2 months ago

Hi, This is a good idea for an extension, but I don't think it fits DevToys' default tools. Thanks