src/Renderer/Markdown.php
public function render(bool $trim = false): string
    {
        $this->output = '';

        foreach ($this->deltas as $i => $delta) {
            $this->output .= $delta->render();
        }

        if ($trim === false) {
            return $this->output;
        } else {
            return trim($this->output);
        }
    }
public function render(bool $trim = false): string
    {
        $this->output = '';

        foreach ($this->deltas as $i => $delta) {
            $this->output .= $delta->render();
        }

        if ($trim === false) {
            return $this->output;
        } else {
            return trim($this->output);
        }
    }
public function render ( bool $ trim = false ) : string { $ this -> output = '' ; foreach ( $ this -> deltas as $ i => $ delta ) { $ this -> output .= $ delta -> render ( ) ; } if ( $ trim === false ) { return $ this -> output ; } else { return trim ( $ this -> output ) ; } }
Generate the final Markdown, calls the render method on each object

@param boolean $trim Optionally trim the output

@return string
Generate the final Markdown calls the render method on each object