Skip to content

Instantly share code, notes, and snippets.

@bitfyre
Forked from angelbotto/convert
Created March 17, 2014 23:26
Show Gist options
  • Save bitfyre/9610498 to your computer and use it in GitHub Desktop.
Save bitfyre/9610498 to your computer and use it in GitHub Desktop.
1. replace @ with $
Find: @
Replace: $
2. replace mixins
Find: \.([\w\-]*)\s*\((.*)\)\s*\{
Replace: @mixin \1\(\2\)\n{
3. replace includes
Find: \.([\w\-]*\(.*\)\s*;)
Replace: @include \1
4. replace string literals
Find: ~"(.*)"
Replace: #{"\1"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment