Support for file internal paths in NodePath #109
Labels
enhancement
New feature or request
foundational
A long-term decision or architectural implementation. Worth the extra effort.
In anticipation of file parsing support, NodePath needs to be able to point to structures inside files. This can be done by implementing fragment identifiers:
"folder/file.md#heading/small/tiny"
Internally NodePath is just a newtype wrapper around PathBuf currently, so that needs to be modified. It could be turned into a struct with two fields: file_path and fragment or internal_path.
Use TDD for this so nothing breaks.
The text was updated successfully, but these errors were encountered: