Joplin is good but I absolutely hate the way that they structure your notes.
If you have all of your notes in a folder
~/my_notes
~/my_notes/work
~/my_notes/music
etc
Joplin takes them and stores the notes internally as a SQLite table with UUID named markdown files. It makes it very difficult to use bash tools, finding them, other IDEs, etc to work with your files after Joplin has ingested them. Compare this to apps like Obsidian and Logseq (also open source) which don't mess with your markdown file organization.
Supports markdown.
Has easy sync and also mobile and desktop apps.
Free and open source.