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

Px​To​Em

by ningbit ALL

Sublime Text 2 plugin to convert px to em with comments

Details

Installs

  • Total 14K
  • Win 10K
  • Mac 3K
  • Linux 778
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 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5
Windows 0 5 3 9 4 5 6 7 8 5 4 3 6 5 4 7 9 3 6 8 10 9 11 3 8 7 8 1 6 9 4 11 6 4 6 7 6 11 6 6 13 15 4 9 7 8
Mac 0 0 0 1 0 0 1 0 1 2 1 1 3 1 1 9 0 0 3 2 5 0 3 2 0 3 0 2 1 3 4 2 2 1 0 2 0 1 3 4 2 0 0 3 1 2
Linux 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 2 1 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 0 1 1 0 1 0 0

Readme

Source
raw.​githubusercontent.​com

PxToEm Package

pxtoem

This plugin searches base em(px) size and then converts all px to em in the selected line

Default keybinding is cmd + ctrl + e

Version History

v1.1.0 - Added multi-line selection conversion support

License

All of PxToEm is licensed under the MIT license.

Copyright (c) 2013 Ning Yap <ning.yap@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.