Here's a Python script that takes the JSON output from <a href="https://github.com/threeplanetssoftware/apple_cloud_notes_parser">https://github.com/threeplanetssoftware/apple_cloud_notes_pa...</a> (needs master), and rebuilds Notes in Markdown format (or HTML), with links, attachments, lists, etc.:<p><a href="https://gist.github.com/vszakats/5a3bd939721d1dde6142d9ea3b2d1b5f" rel="nofollow">https://gist.github.com/vszakats/5a3bd939721d1dde6142d9ea3b2...</a><p>And a short, standalone JXA script, that outputs HTML, but loses some data, such as links:
<a href="https://gist.github.com/vszakats/f24e7700428c1e694e20cee0b1cc542b" rel="nofollow">https://gist.github.com/vszakats/f24e7700428c1e694e20cee0b1c...</a>