The best way to learn new languages/technologies is to read some good sample source code.
Incidentally there is an abundance of source code, but only so little time. I thought it would be nice to read some on my iPad while I’m on the train. Of course it would be even better if I could have it syntax colored.
Fortunately as I mentioned in my previous post, there is an easy command in Vim to convert any text to html, including the colors.
does the trick.
So here is what you need to do:
- Get yourself an iPad reader that supports html – I use GoodReader
- Convert the source code you would like to read into html using your Vim editor and save it to a file
- Upload the saved html file to your iPad reader (ideally using something quick and convenient like GoodReader’s WiFi transfer)