hugo-coder icon indicating copy to clipboard operation
hugo-coder copied to clipboard

Blockquotes line breaks

Open phpgao opened this issue 4 years ago • 2 comments

Here is a doc abount blockquotes:

Use the > character in front of a line, just like in email

> Use it if you're quoting a person, a song or whatever.

> You can use *italic* or lists inside them also.
And just like with other paragraphs,
all of these lines are still
part of the blockquote, even without the > character in front.

To end the blockquote, just put a blank line before the following
paragraph.

Output:

Use it if you're quoting a person, a song or whatever.

You can use italic or lists inside them also. And just like with other paragraphs, all of these lines are still part of the blockquote, even without the > character in front.

To end the blockquote, just put a blank line before the following paragraph.

But in hugo:

企业微信截图_3c8a98c1-4323-4cbd-a6df-3941c5d41c2d.png

phpgao avatar May 09 '21 04:05 phpgao

First, I don't think this is an issue related to this theme. And I don't think this is an issue at all, actually ­­– the behavior is exactly as described by the text…

alfunx avatar Nov 05 '21 14:11 alfunx

Yep. This is how Hugo handles line breaks inside quotes, and I think this is the default and correct behavior.

luizdepra avatar Nov 10 '21 00:11 luizdepra