Markdown has several ways of formatting paragraphs.
Let's take a few lines of poetry as an example. Suppose you want to write text that looks like this:
Do I contradict myself?
Very well then I contradict myself,
(I am large, I contain multitudes.)
Now, you might think that simply typing each verse onto its own line would be enough to solve the problem:
Do I contradict myself? Very well then I contradict myself, (I am large, I contain multitudes.)
Unfortunately, you'd be wrong! This Markdown would render simply as a single straight line: Do I contradict myself? Very well then I contradict myself, (I am large, I contain multitudes.).
If you forcefully insert a new line, you end up breaking the togetherness:
Do I contradict myself? Very well then I contradict myself, (I am large, I contain multitudes.)
This is what's known as a hard break; what our poetry asks for is a soft break. You can accomplish this by inserting two spaces after each new line. This is not possible to see, since spaces are invisible, but it'd look something like this:
Read full article from Markdown Tutorial | Lesson 7
No comments:
Post a Comment