Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 556 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 556 Bytes

less-plugin-urlencode

Simple URL Encode Function for Less

Installation

Put the urlencode.less.js file in your project and include the following in your Less file:

@plugin 'path/to/urlencode.less.js';

Then you can use the urlencode() function anywhere.

Use

urlencode() accepts a string which it will return, unquoted and URL encoded (using JavaScript's encodeURIComponent()).