I'm taking a course in java and I'm using my iPad to take notes (using the notability app). I wanted to know if there's any way to copy code I'd be writing on my Mac (IntelliJ IDE) to my iPad. It needs to be transferable quickly and easily so I can incorporate the code in my notes as a textbox in notability. The catch is, it also has to retain the text color so I can read it.
Any help would be greatly appreciated.