def text_resource_complete(self, resource, text):
        if not self._should_parse_resource(resource):
            return

        includes = [resource.node.path] + self.includes
        includes = [path.rstrip(os.sep) + os.sep for path in includes]
        options = self.options
        if 'load_paths' not in options:
            options['load_paths'] = []
        options['load_paths'].extend(includes)
        scss = self.scss.Scss(scss_opts=options, scss_vars=self.vars)
        return scss.compile(text)


#
# Sass CSS
#
Run sassycss compiler on text.
dataset/ETHPy150Open hyde/hyde/hyde/ext/plugins/css.py/SassyCSSPlugin.text_resource_complete