title: Codemirror - adding new keywords to a syntax highlighting file
body: <p>I have just come across <a href="http://codemirror.net/" rel="noreferrer">Codemirror</a>.</p>
  
  <p>I would like to know how to create my own Syntax files (for a toy language), or extend the Syntax file of an existing language with new keywords - however, I can't find any documentation on how to get started.</p>
  
  <p>Has anyone any links on docs that that show how to do this?</p>