Community
    • Login

    Javascript and CSS formatting in html files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 7.3k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors