Hello, Sander!
Inspired by your question, I've written a document on posting code snippets with ABAP syntax highlighting here on SCN.
Posting Good-looking ABAP Code Snippets on SCN
I hope this tutorial helps you as you help other SCN members with your ABAP skills!
Best regards,
Flávio.