apply python highlighting for code samples