Open samueldjack opened 12 years ago
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...
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.
Wait for this functionality...
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.
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.