decaf-dev / obsidian-dataloom

Weave together data from diverse sources and display them in different views. Inspired by Excel spreadsheets and Notion.so.
https://dataloom.xyz/
MIT License
899 stars 32 forks source link

Simple embeds #926

Open jerrygreen opened 5 months ago

jerrygreen commented 5 months ago

Problem

Currently, embeds simply duplicate the entire loom editor.

And while the editor itself is cool and all, I really like editing those files – but in embeds, I want something like this:

I.e. cool syntax allowing to filter and sort, but end-goal is to have a basic md table.

Solution

Maybe it's possible to take the groundwork behind obsidian-csv-table and make it compatible with .loom format, – of course, though, it's hell lot of work.

For example:

```csvtable
source: my_loom_file.loom
filter: population < 100000000

Or like this:

source: my_loom_file.loom
sortBy: name


Would generate simple embedded «pure markdown» table like this:

name | population
-- | --
Colombia | 50340000
Russia | 144400000
United States of America | 328200000
JamesDAdams commented 4 months ago

Greate idea !