Waypoint
Waypoint copied to clipboard
Add support for JohnnyDecimal folder structure
Support Johnny Decimal folder structure
Overview
This feature allows users who adapt Johnny Decimal folder structure, which is numbering their folder names, to have the flexibility to set their Folder Note without this numbering system. However, it doesn't strictly require all folders to have numbers, so folders that have the exact name as the folder note will still pass through.
Changes
main.ts:
- Add flag
useJohnnyDecimalto handle folders with numbering system. - Created helper method
removeJohnnyDecimalto return the parent folder without the numbers, if found. - Update
IsFolderNoteandgetFileTreeRepresentationfunctions to support Johnny Decimal feature
README.md
- Added a description for the newly introduced feature.