Langage syntax coloring not working on resource/blade Laravel files xxx.blade.php

Problem description:
When editing a Laravel resource/blade files which containes HTML and PHP, the rext remain full white instead of being syntaxe colored.

Expected behavior:
The text should colored as it is for php files.

Actual behavior:
The text is white (on black for dark mode).

Steps to reproduce:
Display any files with extention .blade.php

Bug appears at this link:

Browser: replit
OS: iOS for iPad.
Device (Android, iOS, n/a leave blank):
Plan (Free, Hacker, Pro Plan):

2 Likes

I’m facing the same. as you rightly mentioned, its happening only in ‘resources/views/’ that has html+php (blade files).

Replit Web
Replit Mac app

Hey @LaurentPOGGI and @RishabKapadia!

Can you please send me the link to the Repl that you’re seeing the issue on and a screenshot of what the syntax highlighting looks like?

blade file with no syntax color :


php file with syntax color :

Link to the replit file :
https://replit.com/@LaurentPOGGI/Laravel-On-Replit?v=1

1 Like

Thank you for the context, this was very helpful! I have sent this to the team so we can investigate this further. I will let you know once I have an update.

1 Like

Hey all!

We have recently released a fix for this issue. That said, if you are still seeing the original issue, please let me know!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.