Having the ability to apply spreadsheet functions as per EqualTo is brilliant.
[1]: https://github.com/DaveJarvis/KeenWrite/blob/main/R/csv.R
[2]: https://youtu.be/XSbTF3E5p7Q?list=PLB-WIt1cZYLm1MMx2FBG9KWzP...
Feel free to reach out (email in my profile) if you'd like to discuss how Sheet Markdown could be added to KeenWrite. Assuming you're displaying the preview using some sort of modern HTML render with canvas support, it should be pretty easy to do.
Also, I must ask. Does anyone know an keenwrite-like-emacsExtension. I would really appreciate it.
[1]: https://youtu.be/CFCqe3A5dFg?t=48 (variables tutorial)
In my experience editing Markdown tables by hand isn't fun.
I just go with CSVs or PSVs or Space Separated values.
Here's how I do it in Scroll (my markdown alternative):
https://try.scroll.pub/#scroll%0A%20table%20%7C%0A%20%20Item...
I've sent a mail to the gmail referenced in your profile page.
Informally: each row in the sheet is a new line, and each cell is separated with a pipe (|). Cells can contain either values (various number formats supported) or formulas. Example:
```equalto
**Item** | **Cost**
Rent | $1500
Utilities | $200
Groceries | $360
Transportation | $450
Entertainment | $120
**Total** | =SUM(B2:B6)
```One thing I should mention, we have another tool which makes it easy to embed a spreadsheet in another app via an IFRAME:
- https://www.equalto.com/suresheet
The benefit of using the above is that Sure Sheet URL will always load the "same" spreadsheet. Edits aren't automatically saved, unlike (say) a Google Sheet.
That said, I think tables are markdown's Achilles heel - anything involving multi-line content starts to make things complicated.
[0]: https://github.com/tgrosinger/advanced-tables-obsidian
[1]: https://github.com/ganesshkumar/obsidian-excel-to-markdown-t...
A little off topic, but it's something I wanted to ask from a more technical audience than myself. Asciidoc'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'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's my confession: I'm not really sure my answer holds any water. Any table model that supports merging and splitting (which Asciidoc's does) can support a modest level of recursion. So probably, the real reason, is that it's just too damn hard to extend the table model to JSON data.
I'm curious, what's your vision for react-spreadsheet? I notice it supports some formulas, and a "single sheet" view. Do you plan to make it a more complete spreadsheet component in future, or do you see that as out of scope?
should just disabled editing the spreadsheet if that's how its going to be
For instance I can publish an article on the economics of ecommerce. And someone consuming my article might want to check the unit economics and might want to just divide the numbers by the total units sold. Instead of having to do that on a calculator, he can just do it on the spreadsheet.
That said, I think 8n4vidtmkvmk has a point that it would be nice if when authoring the Sheet Markup, edits in the spreadsheet preview would be applied "in kind" to the Sheet Markup (bidirectional sync). This would mean you could author the Sheet Markup using the spreadsheet preview, instead of relying 100% on Sheet Markup for authoring.
If you inspect the "Network" tab in Chrome and you can verify that there isn't any network I/O after you modify the markdown.
Edit: and thanks for the complement! I should mention that most of the look-and-feel is courtesy of StackEdit:
Our contribution was to extend StackEdit to render spreadsheets using our Sheet Markup syntax.
=SUM(B2:B7)
to incorporate it into the sum.(Yes, Org Mode has spreadsheets, of sorts.)
I've heard of, but never used, the emacs spreadsheet / org mode stuff. I should probably review it for concepts that I could steal / be inspired by ;P
Some of the tech is open source ( https://github.com/EqualTo-Software/stackedit-sheet-markup ) and some of it depends on tech in our closed-source EqualTo Sheets product ( https://sheets.equalto.com/ ), which is in beta right now. We've considered open-sourcing some / all of EqualTo Sheets, and it may yet happen, but it's not something I could commit to right now.