Markdown has this great feature to wrap a bunch of quote between three backticks (```
) to open the wrap and another three to close it. The content between those can span several lines and even include blank lines. Everything will be preserved.
Is there an equivalent for the quote that doesn't require me to add >
in front of every line I want to wrap?
Something like >>>
to start the wrap quote and >>>
to close it again?
Multiple Lines To create a distinct block of text without formatting any of the text within the block, place triple backticks (```) on the lines before and after the block of text to be separated.
To create a blockquote, start a line with greater than > followed by an optional space. Blockquotes can be nested, and can also contain other formatting. To keep the quote together, blank lines inside the quote must contain the > character.
GitHub Flavored Markdown, often shortened as GFM, is the dialect of Markdown that is currently supported for user content on GitHub.com and GitHub Enterprise. This formal specification, based on the CommonMark Spec, defines the syntax and semantics of this dialect. GFM is a strict superset of CommonMark.
There is no way to do that in pure Markdown, nor in GFM.
If you use line breaks instead of paragraphs, you only need one >
:
> Lorem[space][space] ipsum[space][space] dolor sit amet
Result:
Lorem
ipsum
dolor sit amet
If you're using kramdown
, you can use break <br>
or multiple <br><br>
break tag. As you know, the break tag inserts a single line break.
Lorem
<br>
ipsum<br><br>
dolor sit amet
Result:
Lorem
ipsumdolor sit amet
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With