detect node syntax highlighting