Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for line breaks #40
Maybe I'm missing something, but I don't see a way to add line breaks where wanted. A lot of Markdown supports this with the following rule: "To force a line return, place two empty spaces at the end of a line."
I can get a maximum of one new line, after that, they seem to collapse. I'd like to have something like
Line breaks with this spec is done as in the following image:
You cant test that here: https://dart-lang.github.io/markdown/
I tested the result of
which results in the following HTML
So I believe the dart-lang plugin in behaving as intended with the proper syntax. However, the flutter plugin does not seem to respect the <br /> tags.
So I believe this is a flutter-markdown plugin issue now that I've learned the proper syntax for CommonMark.