Skip to content

Conversation

@MahmadSharaf
Copy link

@MahmadSharaf MahmadSharaf commented Jul 18, 2023

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 useJohnnyDecimal to handle folders with numbering system.
  • Created helper method removeJohnnyDecimal to return the parent folder without the numbers, if found.
  • Update IsFolderNote and getFileTreeRepresentation functions to support Johnny Decimal feature

README.md

  • Added a description for the newly introduced feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant