Community
    • Login

    Javascript and CSS formatting in html files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 6.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Herriman CoderH
      Herriman Coder
      last edited by

      I often have javascript and css in my html files. (Who doesn’t?) Although my html colorizing/etc is great in npp, I get no code colorizing for javascript or css. If I change the file extension to .js, then of course I get the js colorizing, but now I lose all my html colorizing.

      How can I get “full web” code colorizing for all files with .html extension in cpp?

      1 Reply Last reply Reply Quote 1
      • RicardoR
        Ricardo
        last edited by

        Color for JS inside <script> tags should work in latest version, for CSS it is broken.

        1 Reply Last reply Reply Quote 0
        • Herriman CoderH
          Herriman Coder
          last edited by

          Ricardo: When I upgraded from NPP 6.7.9.1 to 6.7.9.2, it works great now. Thanks!!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors