I'm trying to get simple syntax highlighting working within a file. Here's the setup.
I have an index.php
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 <script type="text/javascript">
and </script>
tags.
However, I have some CSS that is not being properly highlighted. I've noticed this with all of the "themes" I've tried with Notepad++. The code is surrounded by <style type="text/css">
and </style>
yet is not being understood as CSS properly.
Any ideas?
Note: Notepad++ does properly highlight individual .css
files.