I’m using CodeMirror in GFM mode. When using fenced code blocks with php
it requires <?php
opening tag in order to highlight code. Is it possible to highlight code without opening tags?
Solved:
CodeMirror.findModeByName('php').mime = 'text/x-php';
not working