markdowndeep icon indicating copy to clipboard operation
markdowndeep copied to clipboard

Implemented an option to enable Github-Falboured-Markup style linebreaks - i.e. no double space required

Open samueldjack opened this issue 12 years ago • 4 comments

This is achieved by pre-processing the text with a regex before transforming it in the usual way.

The option is called EasyLineBreaks, and has been implemented for client and server.

samueldjack avatar Aug 15 '12 15:08 samueldjack

Apart of github this king of line break is used in Octopress, a markdown based blog engine. Will be nice to see this feature implemented in MarkdownDeep...

vcaraulean avatar Oct 14 '12 20:10 vcaraulean

I'm a bit confused by the requirement here, and this discussion confuses things even more.

Is the requirement simply that all newlines in a paragraph insert a <br /> tag? If so, that can probably be more easily (and more accurately) implemented internally - rather than as a regex pre-parse.

toptensoftware avatar Feb 24 '14 12:02 toptensoftware

Wait for this functionality...

Jeff-Tian avatar Jun 24 '14 03:06 Jeff-Tian

It's very hard to teach users about "two spaces makes a new line". They expect a new line after they type enter. An option two allow that all newlines in a paragraph insert a
tag would be nice.

Edddy avatar Oct 20 '14 13:10 Edddy