bobtfish/text-multimarkdown — pull request #17 by doherty (2012-02-24 03:21:11+00:00)
Title: Add option break_at_newlines to be more like Gihub-flavoured Markdown

This implements newline handling somewhat like the description of
Github-flavoured Markdown, described at http://github.github.com/github-flavored-markdown/

Normal markdown (and, until now, Text::MultiMarkdown) allows you
to hard-wrap text. Markdown will combine those lines into a single
paragraph of text. With break_at_newlines, Text::MultiMarkdown will
treat newlines in your text blocks as real line breaks.

The markdown

one
two

was once rendered as

one
two

which will be one paragraph in your browser - but with break_at_newlines,
will now be:

one

two

which will be two paragraphs in your browser.

The default for break_at_newlines is off.

This resolves GH #15.

Thanks to Clinton Gormley for coding this up - see bobtfish/text-markdown#15