its_down_again a day ago

FWIW I built a streamlit app to extrapolate tribal knowledge in excel trackers into markdown wikis for vector database ingestion. Instead of uploading raw tables, it maps sheet headers to real headings to wrap each section in wiki-type format context pages. The UI lets you pick out QA sections from local files, but I’m stuck on how to persist selections and configs for repeat runs. Curious how others would tackle the issue of repeatable settings.

Code’s here: https://github.com/devin-liu/excel-to-markdown

iaad a day ago

Worked on something very similar recently at work.

If you want to respect more of Excels formatting, like multi column cells, you can get the text/html from the paste event instead of the text/plain.

You can parse the HTML using DOMParser: parseFromString()

speakspokespok a day ago

This is a very handy tool.

For those of us who sometimes have to do presentations but don’t want to (learn) do full blown slidedecks I have a feature request:

If you could add googlesheets to mermaid.js table or googlesheets straight to png of a markdown table that would be so nice. As I recall Mermaid.js renders to png.

Easy way to build tables, I can just insert the image of the table.

ornel a day ago

I made a version[0] of this years ago inspired by something similar in MailChimp using a pasted spreadsheet. Mine converts to Markdown and simpler text. I used it to send table data as plain text emails

[0] http://mirrodriguezlombardo.com/Tablas-simples/

jquaint a day ago

Cool tool!

Anyone have recommendations for a command line solution on Linux? :)

  • speerer a day ago

    You could potentially do a pipeline -

    first converting xlsx to csv with libreoffice using approximately: `soffice --convert-to csv *xlsx`,

    followed by `pandoc in.csv -o out.md`.

    [Edit: The more I think about it, the more I can see lots of ways this could go wrong.]