Adapted syntax highlighting code to yard