updated code recognition and highlighting