A crude version of what you might be looking for is available on cloud-notes.info
This was an MVP I threw together which I've been using ever since- to be honest the interface needs a bit of work but solves the problem for me.
Syntax highlighting shouldn't be a big issue to add.
Note the iOS app isn't currently on the app store, but contact me if you want to test that as well. (email in profile)