blacksmithgu / datacore

Work-in-progress successor to Dataview with a focus on UX and speed.
MIT License
1.25k stars 11 forks source link

Fix blockOrdinal not incremented #30

Closed RyotaUshio closed 7 months ago

RyotaUshio commented 7 months ago

Currently, every block in a MarkdownPage has the same id .../block1 because the blockOrdinal variable is not incremented when importing blocks.

image

This PR fixes this. After this change, the block ids look fine.

image

Please let me know if I should change anything. Thank you.