You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure if newlines are handled correctly... Would like to know if it really is an issue with the library or if it's just me not knowing enough about markdown.
I have the following input
*italics*
**bold**
***bold italic***
And what I get is
italicsbold_bold italic_
instead of:
italics bold _bold italic_
What would be the correct behaviour? And could I get my expected behaviour new lines using this library?
Thanks,
Georg
The text was updated successfully, but these errors were encountered:
I had the same issue, explored it pretty thoroughly. Might be an issue with the underlying raw parser which appears to be autogenerated C code from another language. Seems like single newlines never bubble up as newline nodes. Two newlines in a row are handled properly as a new paragraph, though.
indragiek/CocoaMarkdown, though in beta, looks promising; based on jgm/cmark CommonMark implementation. Does not build for me though, as of the time of this writing.
This is common behavior in markdown. Even on github, when parsing a markdown file like Readme.md. Two newlines make a paragraph. Single newlines are collapsed to a single space character.
I am not sure if newlines are handled correctly... Would like to know if it really is an issue with the library or if it's just me not knowing enough about markdown.
I have the following input
And what I get is
italics bold _bold italic_
instead of:
italics
bold
_bold italic_
What would be the correct behaviour? And could I get my expected behaviour new lines using this library?
Thanks,
Georg
The text was updated successfully, but these errors were encountered: