Added syntax modes to code samples