public function render($showChrome = true)
    {
        $html = $this->template->render($this->data);

        // Tidy the HTML
        $parser = new Parser();
        $html = $parser->indent($html);

        if ($showChrome) {
            return View::render('pattern', [
                'title' => $this->title,
                'id' => $this->id,
                'html' => $html,
                'template' => $this->templateRaw,
                'copy' => $this->copy,
                'data' => json_encode($this->data, JSON_PRETTY_PRINT),
            ]);
        } else {
            return $html;
        }
    }