Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Notepad++ CSS and JavaScript Minify using Python Script plugin
Python
Branch: master
Failed to load latest commit information.
CSSmin.py Readme corrections, added endUndoAction
README.md Readme corrections, added endUndoAction

README.md

CSSmin.py for Notepad++ Python Scripting plugin

A simple script that contains a Python port of the YUI CSS Compressor so you can minify both CSS and JS

Version 1.0

Installation

Simply copy CSSmin.py to \plugins\PythonScript\scripts\ in your NPP folder and restart NPP. It will now appear as a menu item under Plugins...Python Script...Scripts

Usage

  1. Select the text to process, or select nothing.
  2. Go to the NPP menu, Plugins...Python Script...Scripts...CSSmin and click!
  3. If selected text is detected, it will process and replace the selected text, otherwise the entire contents of current document.
  4. Undo is available if you dont like the results

Credits

Original cssmin.py ported from YUI here https://github.com/zacharyvoase/cssmin

Something went wrong with that request. Please try again.