Derived from: www. zhihu. comquestion28634169answer%63077 I remember that when Medium published an article, it will automatically remove the text layout of the author's own line feed and convert it into a unified & lt; p & gt ;, then, the Medium CSS controls the segment spacing to achieve a unified effect. So I know that this is a lazy derived from: http://www.zhihu.com/question/28634169/answer/41563077
I remember that when Medium published an article, it will automatically remove the la s of the writer's own line feed and convert them into one
And then the Medium CSS controls the segment spacing to achieve a unified effect. So do you know this is a lazy? = reply content: A simple sentence:
Zhihu engineers responsible for this part of the function lack the pursuit of extreme excellence. It is mainly convenient.
It is one-to-one correspondence with the line breaks entered by the user, so it can always meet the user's expectation of line breaks. While
The style contains the Spacing Before and After segments, and the rows are high, which does not necessarily meet the user's expectations. Because user line breaks do not mean he wants to enter a new paragraph.
For example, if multiple rows are empty, the layout you want is as high as that of multiple rows.
It will become empty multi-line segment spacing.
So even though the frontend is annoying
Typographical, but I still think
Aspect Ratio
More convenient and secure. After all, users' intentions are hard to guess.
Of course, none of these problems can be solved, or they are troublesome. Perhaps this is what @ He Shijun's predecessors said lacks the ultimate pursuit. It is completely the frontend programming habit. Why bother with the experiment? In the editor, I press enter, that is, press enter, and I will open another section (controlled by p), press shift + enter, that is, press enter to use the br label. However, when I publish the product, all of them are changed to "br. So is it processed by the backend?
The answer to zhihu does not need to be in the green format or in the style.
However
Saves a lot of bytes. Why not
? I have read the p instead of p in both the 163 and QQ mailboxes. I don't know why it is convenient, because the rich text editor will press enter by default and there will be one more