QOwnNotes is the open source (GPL) plain-text file notepad with Markdown support and todo list manager for GNU/Linux, Mac OS X and Windows by Patrizio Bekerle, that (optionally) works together with the notes application of ownCloud or Nextcloud.
Have it
$ nami install qownnotes
Or one line in your user.nami or a computer's computer.nami: - qownnotes. An older one, 26.10: - qownnotes: 26.10 (its newest, 26.10.11). Every version it has had: nami versions qownnotes, or pick one in the window. Apps, in the docs