Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samueldjack
Copy link

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.

… space required beforehand.

This is achieved by pre-processing the text before transforming it.
@vcaraulean
Copy link

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...

@toptensoftware
Copy link
Owner

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.

@Jeff-Tian
Copy link

Wait for this functionality...

@Edddy
Copy link

Edddy commented Oct 20, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants