HTML Highlight in *.blade.php, <?php echo

Hello!

Is it possible to highlight HTML in *.blade.php files, example:

<?php echo “<p style="color: #ccc;"></p>”; ?>

In *.php it's work, but not in *.blade.php.

 

Upload id: 2024_01_19_2kxvPaVmsXwr5gvJzymxsZ (file: php_ blade_no_html_hl.png)

1
3 comments

I have tried several different approaches but looks like, it is not possible to use HTML injection within PHP code in .blade.php files, sorry.

Probably, some complex injection rule in "Settings/Preferences | Editor | Language Injections” may work. 
If I manage to do that, I will post it here.  

0

Is there a solution to this problem?

 

0

Please sign in to leave a comment.