Closed chipsenkbeil closed 3 years ago
In the short term, we can support this in vimwiki-server by leveraging the parent element edge and hopping up until we have no parent to count how deep we are. This is not ideal as it requires the entity framework, which is heavier than needed.
It should be possible to encode the depth of each element as parsed in the vimwiki crate. Starting with depth 0 being a root-level element and incrementing as we go down.