Paste a spreadsheet table and convert it to a markdown table
Paste a spreadsheet table and convert it to a markdown table
Currently, if you copy a range of cells in a spreadsheet program like LibreOffice Calc, Microslop Excel, Google Sheets, etc. and then paste into a textbox in PieFed, it will upload that as an image file representing that range of data. If that is what a user intends to do, it works great for that. But I think that more often than not, what the user actually wants to do when pasting in from a spreadsheet is for that data to be a markdown-formatted table, not an image file. I would like to see this as the default behaviour for PieFed.
Here is an example of a website that exists just to provide a textbox in which you can paste from a spreadsheet and it will convert that range of data to a markdown table: https://tabletomarkdown.com/convert-spreadsheet-to-markdown/
I came across this as a library or whatever that other similar sites make use of to implement this feature: https://github.com/jonmagic/copy-excel-paste-markdown