src/Delta/Markdown/Header.php
public function render(): string
    {
        $string = str_repeat('#', intval($this->attributes['header'])) . ' ';
        if ($this->hasChildren() === true) {

            foreach ($this->children() as $child) {
                $string .= $child->render();
            }
        }
        $string .= "{$this->escape($this->insert)}";

        return $string;



        /*return str_repeat('#', intval($this->attributes['header'])) .
            " {$this->escape($this->insert)}";*/
    }
public function render(): string
    {
        $string = str_repeat('#', intval($this->attributes['header'])) . ' ';
        if ($this->hasChildren() === true) {

            foreach ($this->children() as $child) {
                $string .= $child->render();
            }
        }
        $string .= "{$this->escape($this->insert)}";

        return $string;



        /*return str_repeat('#', intval($this->attributes['header'])) .
            " {$this->escape($this->insert)}";*/
    }
public function render ( ) : string { $ string = str_repeat ( '#' , intval ( $ this -> attributes [ 'header' ] ) ) . ' ' ; if ( $ this -> hasChildren ( ) === true ) { foreach ( $ this -> children ( ) as $ child ) { $ string .= $ child -> render ( ) ; } } $ string .= "{$this->escape($this->insert)}" ; return $ string ; /*return str_repeat('#', intval($this->attributes['header'])) .
            " {$this->escape($this->insert)}";*/ }
Render the Markdown string

@return string
Render the Markdown string