Coming here to recommend Joplin, been using it for years and it's a great note app, markdown + external editing supported, open source, CLI & GUI clients, encrypted... Does everything right!
Coming here to recommend Joplin, been using it for years and it's a great note app, markdown + external editing supported, open source, CLI & GUI clients, encrypted... Does everything right!