TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Sheet Markup – add spreadsheets to a Markdown document

120 pointsby diarmuid_glynnabout 2 years ago
GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;EqualTo-Software&#x2F;stackedit-sheet-markup">https:&#x2F;&#x2F;github.com&#x2F;EqualTo-Software&#x2F;stackedit-sheet-markup</a>

12 comments

thangalinabout 2 years ago
My text KeenWrite supports R Markdown. I wrote a simple function to convert CSV data into a Markdown table[1] along with a tutorial demonstrating usage[2]. This allows users to keep the data separate from the document.<p>Having the ability to apply spreadsheet functions as per EqualTo is brilliant.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;DaveJarvis&#x2F;KeenWrite&#x2F;blob&#x2F;main&#x2F;R&#x2F;csv.R">https:&#x2F;&#x2F;github.com&#x2F;DaveJarvis&#x2F;KeenWrite&#x2F;blob&#x2F;main&#x2F;R&#x2F;csv.R</a><p>[2]: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;XSbTF3E5p7Q?list=PLB-WIt1cZYLm1MMx2FBG9KWzPIoWZMKu_&amp;t=186" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;XSbTF3E5p7Q?list=PLB-WIt1cZYLm1MMx2FBG9KWzP...</a>
评论 #35547612 未加载
评论 #35551156 未加载
diarmuid_glynnabout 2 years ago
We&#x27;ve found &quot;sheet markup&quot; (a simplified, textual representation of a spreadsheet) useful in other contexts, such as when interacting with an LLM. I think there might be quite a few other interesting uses, happy to discuss.
评论 #35548188 未加载
评论 #35543353 未加载
seanosaurabout 2 years ago
This looks great! Are there plans to spin up a plugin for Obsidian and similar apps?
评论 #35545360 未加载
评论 #35550620 未加载
MilStdJunkieabout 2 years ago
Dang, that&#x27;s nifty. In Asciidoc, everything has to go to CSV or some kind of delimited format, which means you need the TextQL extension if you want to calculate at the document layer. I&#x27;ve given guidance that the compute needs to be done before it goes into the document change control - TextQL lets you cheat, but you don&#x27;t want to hinge a document process on something like that.<p>A little off topic, but it&#x27;s something I wanted to ask from a more technical audience than myself. Asciidoc&#x27;s table model can be instructed to use any arbitrary character as the delimiter (pipes, commas, tabs, etc) , which led a lot of people to ask me: why not support JSON as tabular format? At the moment, JSON has to be rendered via PlantUML (JSON) block. The only answer I could give (aside from RFC 4180, which is at the heart of adoc&#x27;s table model) was that JSON, like XML, can recurse a record arbitrarily - making it pretty difficult, from a compute perspective, to render with a given resource. You can have columns in columns in columns. Here&#x27;s my confession: I&#x27;m not really sure my answer holds any water. Any table model that supports merging and splitting (which Asciidoc&#x27;s does) can support a modest level of recursion. So probably, the real reason, is that it&#x27;s just too damn hard to extend the table model to JSON data.
iddanabout 2 years ago
Great stuff! If you&#x27;d like to add a spreadsheet to your React &#x2F; MDX I created a similar small component <a href="https:&#x2F;&#x2F;github.com&#x2F;iddan&#x2F;react-spreadsheet">https:&#x2F;&#x2F;github.com&#x2F;iddan&#x2F;react-spreadsheet</a>
评论 #35544260 未加载
8n4vidtmkvmkabout 2 years ago
so...this isn&#x27;t bidirectional? becuase the first thing i did was edit the spreadsheet on the right and i was expecting it to update the markdown on the left but i guess not.<p>should just disabled editing the spreadsheet if that&#x27;s how its going to be
评论 #35550762 未加载
blackbear_about 2 years ago
Happy to see the world slowly catching up to org mode in emacs.. ;) jokes aside, cool stuff!
bestouffabout 2 years ago
That&#x27;s cool and all, but I would have preferred ```csv as a marker instead.
rad_gruchalskiabout 2 years ago
This looks really cool. I would love to have an embedded spreadsheet on my blog for some use cases. However, it seems that all entered data is siphoned into your service. Correct?
评论 #35548511 未加载
thih9about 2 years ago
If I add a row at the end saying “another | $1000”, the total doesn’t get updated (the SUM still points to B2-B6, so doesn’t include the new field). Is that intentional?
评论 #35545710 未加载
nine_kabout 2 years ago
I wonder when will Markdown adopt enough features of Org Mode to become a viable replacement for people not using Emacs.<p>(Yes, Org Mode has spreadsheets, of sorts.)
评论 #35547350 未加载
yawnxyzabout 2 years ago
wow so cool! Do you guys have plans to open source some of this in the future?
评论 #35549058 未加载