blacksmithgu / datacore

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

Fix blockOrdinal not incremented #30

Closed RyotaUshio closed 1 year ago

RyotaUshio commented 1 year 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.