It would be shown in »read only« mode of course (see also https://github.com/nextcloud/notes/issues/23). Basically the page like for share links with the blue header, in the content only the note text, formatted properly (no Markdown highlight stuff) and on the top right a download function.
The share icon could be in a 3-dot menu in the left navigation, where also »Delete« should be placed now that we get more stuff. We could layout it like in the Spreed app, where quick sharing by link is possible:

Clicking on »Share link« shows the link in an input field below and also shows a copy button. We could also use the clipboard API to directly copy the share link to the clipboard.
We donāt need full-blown sharing with others on the same instance yet Iād say since thereās no realtime collab anyway. This is about publishing mainly. :)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Note that you can share a not by sharing the file (in the Notes folder) with the File app.
But the note will be stored in the root folder of the user, not in Notes folder.
@roipoussiere yep, of course. That requires you to switch the app, find the note, share it, and go back to the Notes app. ;) Hence the direct integration is needed.
With the markdown app there is currently also no option to share the rendered markdown (as it was requested here), but there is a related request for such feature https://github.com/icewind1991/files_markdown/issues/29
It needs to be shared in the notes folder not the files folder. This is not sharing a note - it is sharing a file.
I'd like the shared note to be available in the notes app on the phone.
You should be able to make it visible in the notes app by moving the shared file to the Notes folder manually. However this is really annoying.
I looked into the file sharing code and unfortunately the target folder is always set to the system default folder for sharing, usually the user's root folder, so there's no easy way to solve sharing a note directly using the file sharing API unless something changes in the files_sharing app.
As I'm still fairly new to the whole code-base I'm still unsure how/if dependencies between apps would be handled.
@nextcloud/sharing @schiessle any help regarding sharing here is appreciated. :)
Most helpful comment
It needs to be shared in the notes folder not the files folder. This is not sharing a note - it is sharing a file.
I'd like the shared note to be available in the notes app on the phone.