ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Slugify

by alimony ST2/ST3

Convert the selected text to a slug.

Details

  • 2016.01.12.21.26.15
  • github.​com
  • github.​com
  • 2 years ago
  • 1 day ago
  • 5 years ago

Installs

  • Total 2K
  • Win 511
  • OS X 868
  • Linux 327
Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10
Windows 0 1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 1 0 1
OS X 0 3 0 0 3 1 0 0 1 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 2 1 1 0 1 1 5 0
Linux 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 3 0 3 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Slugify

Sublime Text 2 & 3 package that adds a command for converting the selected text to a slug.

Installation

This package is available through Package Control, it’s called “Slugify”.

Usage

Select a piece of text and run “Slugify” from the Command Palette. You can then enter what separator to use in the slug; the default is dash, and just pressing enter will use that. All characters will be converted to ASCII, removing any punctuation and such, and spaces converted to the previously entered separator.

Credits

The slugify function itself is by Armin Ronacher. The plugin part is based on sublime-slug by Damiano Seno.