In Zed, the highlighting only works when <?php is used:
As a comparison, PhpStorm properly syntax highlights, even without <?php. I am very used to this behavior (and LLMs very often also spit out Markdown code blocks without it). Is there any way to have the same behavior in Zed?
I assume it could be some treesitter issue?
As a note: In both Zed and PhpStorm, the PHP markdown code blocks render HTML with inline PHP fine.

In Zed, the highlighting only works when
<?phpis used:As a comparison, PhpStorm properly syntax highlights, even without
<?php. I am very used to this behavior (and LLMs very often also spit out Markdown code blocks without it). Is there any way to have the same behavior in Zed?I assume it could be some
treesitterissue?As a note: In both Zed and PhpStorm, the PHP markdown code blocks render HTML with inline PHP fine.