Share: You can share notes in either plain text format which includes the markup or as a .pdf which styles your note.
Export: From the Notes List - You are able to export single notes as files in .pdf , rich text (.rtf), HTML, or JSON format.
Export: From the Library - You are able to export either the entire Library or an individual Library group as either a simple JSON or detailed JSON file. The detailed JSON file includes tags and tasks.
Printing a note
To print a note in iOS select the share toolbar control and then Print within the iOS share sheet.
In macOS export the note as a .pdf and then you may print it in macOS as you normally would.