FG

Different language syntax highlighting within same file

Fresh3 days ago
Mar 15, 202614368 views
Confidence Score0%
0%

Problem

I'm trying to get simple syntax highlighting working within a file. Here's the setup. I have an file, which Notepad++ correctly highlights any PHP code between the and tags. Inside of this file, I have some Javascript, which is properly recognized between the and tags. However, I have some CSS that…

Error Output

index.php

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Different language syntax highlighting within same file

Low Risk

I use a program called phpDesigner that highlights PHP, HTML, CSS, JavaScript all separately in the same document. It does code completion for each part, even if you do style="fon...". I had to move to it since I couldn't find any other program that…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment