-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
<p> </p> doesn't seem to be supported #6
Comments
👍 |
Yea he really needs a documentation. After digging though regexes, his method of dealing with newlines between paragraph is show below. Probably because paragraph detection depends on 'context' awareness in parsers, and that can get expensive in terms of implementation for such a small parser like this. INSERTING
|
I noticed, however, that the behaviour of his demo seems correct: http://simonwaldherr.github.io/micromarkdown.js/ Even though when I embed it myself the behaviour isn't correct. I checked the outputs of his demo and my code and his output identifies and adds the two However within my own code this doesn't work. I notice he calls I'm thinking perhaps it has something to do with the |
Well the answer in my case was that this commit: e2ea700 Doesn't seem to have found its way into the NPM package. |
According to http://daringfireball.net/projects/markdown/syntax#p
multiple spaces means a new paragraph.
This doesn't seem to happen here. Was it forgotten or is there a specific reason to not include it? (like size)
The text was updated successfully, but these errors were encountered: