def METHOD_NAME(self):
    content = ''
    if self.content:
        content += '\n'.join(self.content)
    # include
    if 'include' in self.options:
        if content:
            content += '\n'
        path = os.path.join(
            context.settings.CONTENT_ROOT,
            os.path.dirname(context.content['path']),
            self.options['include'],
        )
        with open(path, 'r') as f:
            content += f.read()
    # import
    elif 'import' in self.options:
        attribute = acquire(self.options['import'])
        content = getsource(attribute)
    try:
        if self.arguments:
            lexer = get_lexer_by_name(self.arguments[0])
        else:
            lexer = guess_lexer(content)
    except (ClassNotFound, IndexError):
        lexer = get_lexer_by_name('text')
    formatter = HtmlFormatter()
    content = highlight(content, lexer, formatter)
    # find template
    template = self.options.get(
        'template', context.settings.DEFAULT_CODE_BLOCK_TEMPLATE)
    node_content = context.templating_engine.render(
        template,
        {
            'context': context,
            'content': content,
            'license': self.options.get('license', ''),
        },
        handle_exceptions=False,
    )
    return [
        raw('', node_content, format='html'),
    ]