0
Under review

Markdown highlighting issue with php code snippets

DJ Sipe 9 years ago updated by Alexander Blach (Developer) 9 years ago 1
When editing a markdown document, if you use the following markdown you break the syntax highlighting for the rest of the document.

```php
<?php
// Some php code
```

If you remove the "<?php" from the code sample the issue goes away.
Under review
If you add "<?php" in a fenced code block, you also need to add "?>" to finish the php block. This is the same behavior as in Sublime Text and TextMate which use the same language grammars.