Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Javascript and CSS formatting in html files

    Help wanted · · · – – – · · ·
    2
    3
    6205
    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.
    • Nate Jensen
      Nate Jensen 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
      • Ricardo
        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
        • Nate Jensen
          Nate Jensen 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
          Copyright © 2014 NodeBB Forums | Contributors