heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
3.76k stars 183 forks source link

Highlight PHP even when not starting with <?php #210

Open janedbal opened 5 months ago

janedbal commented 5 months ago

Have you searched existing Github issues to see if someone has already requested this feature? Yes

Is your feature request related to a problem? Please describe. Any copy-pasted block of PHP code is not highlighted unless I add <?php which is very annoying

Describe the solution you'd like Highlight PHP code even without the start tag. Any modern PHP application is not combining HTML with PHP and all php files contains only PHP.

Describe alternatives you've considered No alternative

Additional context See screenshot: image