Export from Notes.app to Markdown format?
Unfortunately the native app does not offer this. 

There is an app available for macOS in the App Store called Exporter that offers this. I am not affiliated with the software.

Another option is exporting to PDF in Notes, (File > Export as PDF…), then exporting to Markdown using a website like this one: PDF To Markdown Converter