I use a markdown editor, currently Typora, since it has a side pane with folder structure. I keep folders for personal notes, study notes, project plans, compsci “knowledge” where I have massive notes for each subject. All of it is backed up and synced between devices using Nextcloud. Works fine, is free and doesn’t need paid subscriptions.