You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Click here to download the latest version](https://github.com/leocaseiro/jQuery-Plugin-stringToSlug/archive/v2.0.0.zip)
32
+
```
17
33
18
-
The plugin removes special characters, converts the string to lowercase and defines a space character. You can set a prefix and/or suffix before to convert it.
34
+
Description
35
+
--------------
36
+
The stringToSlug uses a third-party library speakingURL that removes special characters, converts the string to lowercase. The StringToSlug also defines a space character and set optionally a prefix and/or a suffix for your slug.
19
37
20
38
Transforming a string into a url-friendly permalink.
21
39
You can use the plugin to display a view in html elements or form inputs.
22
40
23
-
It is the only plugin that removes the stress of words, exchanging letters marked by unaccented letters.
41
+
Contributing
42
+
------------
43
+
The StringToSlug uses [**NodeJS with NPM**](http://nodejs.org/) and **Gulp** for compile, **Jasmine** and **Karma** for testing:
24
44
25
-
Features version 1.0.0:
26
-
-----------------
27
-
* Set one or more events to work (Default events are keyup, keydown and blur)
28
-
* Set get input or element to view the slug (Ex: input[type=hidden] or span#slug)
29
-
* Set character to space (Ex: hiphen or underscore)
45
+
To install **Bower** and **Gulp** globally, use **npm install -g**:
46
+
```shell
47
+
npm install -g bower
48
+
npm install -g gulp
49
+
```
30
50
31
-
Features version 1.0.1:
32
-
-----------------
33
-
* a little upgrade for win-1250. Some czech letters more (by Ales)
51
+
Install all dependencies with NPM and make sure Bower is up to date:
52
+
```shell
53
+
npm install
54
+
bower install
55
+
```
34
56
35
-
Features available with version 1.2.0
36
-
-----------------
37
-
* Set prefix (Ex: prefix table "tbl_")
38
-
* Set suffix (Ex: file extension ".jpg")
39
-
* Define replace regExpress before the slug be generated (Ex: remove text in parentheses)
57
+
List all tasks with gulp
58
+
```shell
59
+
gulp
60
+
```
40
61
41
-
Features available with version 1.2.1
42
-
-----------------
43
-
* Fixed error when use '_' or other char in space char
0 commit comments