silverbulletmd / silverbullet

The hackable notebook
https://silverbullet.md
MIT License
2.06k stars 146 forks source link

Add support for queryable markdown tables #729

Closed gorootde closed 4 months ago

gorootde commented 4 months ago

Adds support to query tables via the table object. I'll do a little bit more polish the code later. However, the functionality is ready and seems to be working for all edge cases I tested.

This implements #725

I'd love to have a better and more intuitive value for the table property. But markdown doesn't support naming tables. Any ideas how we may name a table?

zefhemel commented 4 months ago

Cool stuff. Will review and test this later this week.

zefhemel commented 4 months ago

Merging this, then will follow up with a quick change removing console.log and adding table as a builtin