I'll throw in a recommendation for Notesnook. It's available on all platforms, syncs across devices, is e2e encrypted, handles tables, and you can organize notes via notebooks, If you need to get a bit more granular, you can subdivide notebooks via topics. It also handles markdown. I pay around $5.00/month for a pro account, and am getting more than my money's worth.