src/Ciconia/Extension/Core/WhitespaceExtension.php
public function initialize(Text $text)
    {
        $text->replaceString("\r\n", "\n");
        $text->replaceString("\r", "\n");

        $text->append("\n\n");
        $this->markdown->emit('detab', array($text));
        $text->replace('/^[ \t]+$/m', '');
    }
public function initialize(Text $text)
    {
        $text->replaceString("\r\n", "\n");
        $text->replaceString("\r", "\n");

        $text->append("\n\n");
        $this->markdown->emit('detab', array($text));
        $text->replace('/^[ \t]+$/m', '');
    }
Convert line breaks

@param Text $text