Closed JTWang2000 closed 4 years ago
The parser used for GitHub preview is likely to be different from the one used to generate the GitHub pages. To ensure there is a line break in the generated html page, try using two consecutive blank lines instead of one.
GitHub uses a version of Markdown called GitHub Flavored Markdown (GFM), which implements things in a slightly different way than standard Markdown. This section in particular talks about the <p>
HTML tag.
@damithc @rdimaio Thank you for the reply. I will try to add line break by using two consecutive blank lines instead of one.
When I am implementing the UG, I want to write things in different lines so I use
</p>
. This works when I display in Github:This is the code for UG:
This is the display when I see it on github or my IDE:
However, when I see it on the website of my project, the
will displayed:I am confused why this happens. I also wonder how to add return in markdown.