This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# saved from: http://pastie.org/private/bclbdgxzbkb1gs2jfqzehg | |
import sublime | |
import sublime_plugin | |
import subprocess | |
class RunExternalCommand(sublime_plugin.TextCommand): | |
""" | |
Runs an external command with the selected text, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var d = document.createElement('div'); | |
d.innerHTML = '\ | |
<style>\ | |
*:not(.icon):not(i), *:not(.icon):not(i):after, *:not(.icon):not(i):before {\ | |
box-shadow: none !important;\ | |
text-shadow: none !important;\ | |
background-image: none !important;\ | |
border-radius: 0 !important;\ | |
}\ | |
*:not(.icon):not(i) {\ |