I think org-mode solves almost all offline note-taking requirements
* org-roam makes it super-easy to link notes
* emacs as an editor is as usable as any other editor
* Rich media is possible and easy to do in org-mode. Attach a snapshot, embed a video file
* Code with documentation is a feature not available in most other note taking methods/apps. It's possible to run code snippets and add comments, documentation about them in the same space
* Latex support is advanced. Inline equations work seamlessly
* Search support is advanced
Drawbacks:
* One of the main drawbacks is that all your notes end up offline. This was a deal-breaker for me. ox-hugo helps in publishing your notes to a (private) static site where it can be searched, viewed but not edited on the fly
* Publishing through ox-hugo is separate from maintaining a backup/sync of your notes in /org/ format. You'll have to do this separately through Dropbox/GDrive/etc
* A backup of your org notes is not usable until you set up your emacs environment and download all your notes