Dumpify icon indicating copy to clipboard operation
Dumpify copied to clipboard

Support for Markdown output?

Open sulmar opened this issue 1 year ago • 4 comments

Markdown is very popular format and support by GitHub. I propose to add the possibility of output to it.

sulmar avatar Jun 06 '23 08:06 sulmar

Hi @sulmar, thanks for the suggestion! More output formats are on my roadmap. Although Markdown wasn't one of them, I will add it and bump it in the list. This will be easily achievable once I finish my current work on abstracting the table builder (in a week or two). Having said that, I'm not sure I could implement the Markdown output in the upcoming month, as I'm busy with work and other features. I'm happy to help you and other community members if you would like to implement it and contribute the code in the meantime :)

MoaidHathot avatar Jun 06 '23 08:06 MoaidHathot

I will be happy to help you with markdown. I look forward to abstraction.

sulmar avatar Jun 06 '23 09:06 sulmar

how'd you expect to use markdown? a tabular representation of a dataset? I have a short code snippet I wrote to write md tables

https://dotnetfiddle.net/ipCnoc

this might be a kickstarter, It supports alignment as well (not shown in the demo code). @MoaidHathot how do you see MD formatting output of an object dump?

EugeneKrapivin avatar May 07 '24 07:05 EugeneKrapivin

@EugeneKrapivin, I didn't get to it yet, but I imagined it being dumped as text, similar to the existing DumpText() extension method. Once the new engine is ready, it should be extremely easy to implement new types of object dumps, including by consumers. Thanks for the code snippet, I will take a look :)

MoaidHathot avatar May 07 '24 07:05 MoaidHathot