protected function isListLine($line)
    {
        // A buffer is a list if at least the first line is a list-style
        $listLine = $this->parseListLine($line);

        if ($listLine) {
            return $listLine['depth'] == 0 || !$this->isCode;
        }

        return false;
    }