Glyph is a small extension that will convert a special character to it's CSS hex value for use in :before and :after pseudo content.
# Install gem
gem install sassy-glyph
# Require in your config.rb file
require 'glyph'
# Import into your project
@import "sassy-glyph";
Use the glyph mixin in the content property and it will compile to the correct HTML glyph octal
# Use glyph mixin
.arrow:after {
content: glyph(➜)
}
# CSS compiles to
.arrow:after {
content: "\279C";
}