Markdown output?
Hello,
I find myself using this great library more and more, thank you for it!
One use-case I'm facing is that I use it with Elixir .exs scripts to explore data, resulting in things like:
and at this point, quite often, I would like to be able to copy it into GitHub issues, and it would be great to be able to output Markdown tables with the exact same sorting / filtering.
I realise that it is a bit "off" compared to the initial goal of the library.
Maybe I could write some form of external plugin to do that, if the library allows it in a way or another?
Let me know if you have ideas!
(or maybe it can be done with a specific "style" ?)
Hi Thibault,
I am not sure I understand your request. Do you mean that you would like to be able to paste the generated table (like in a README file) after sending the output to the clipboard? Like in your example it would mean 111 lines of about a 100 characters. If so, do you have any suggestion of how to tackle this?
Regards,
Raymond
From: Thibaut Barrère @.> Sent: Saturday, March 16, 2024 10:37 AM To: RaymondLoranger/io_ansi_table @.> Cc: Subscribed @.***> Subject: [RaymondLoranger/io_ansi_table] Markdown output? (Issue #2)
Hello,
I find myself using this great library more and more, thank you for it!
One use-case I'm facing is that I use it with Elixir .exs scripts to explore data, resulting in things like:
@.*** (view on web) https://github.com/RaymondLoranger/io_ansi_table/assets/10141/761c9309-c746-44a6-b9da-1e3002bf41ad
and at this point, quite often, I would like to be able to copy it into GitHub issues, and it would be great to be able to output Markdown tables with the exact same sorting / filtering.
I realise that it is a bit "off" compared to the initial goal of the library.
Maybe I could write some form of external plugin to do that, if the library allows it in a way or another?
Let me know if you have ideas!
— Reply to this email directly, view it on GitHub https://github.com/RaymondLoranger/io_ansi_table/issues/2 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAZL5AVVUYGTQHFJ2HQCS3YYRKJFAVCNFSM6AAAAABEZLYPB2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TAMBUG44TQMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>