docs(directives): fix code lang matching

Closes #7339