Quotes and Blockquotes
Here’s an inline quote: Ut fermentum turpis quis ligula sagittis
.
And here’s what a blockquote looks like:
Ut fermentum turpis quis ligula sagittis, a fringilla orci ultrices. Nam fringilla erat ac bibendum tristique. Morbi nec maximus augue. Donec in justo semper, convallis ante et, laoreet nibh. Vivamus suscipit eros tellus, vitae faucibus leo fermentum non. Cras luctus condimentum mauris sed placerat. Aliquam feugiat commodo elit, eu dapibus nisl placerat at.
You can put a <footer>
inside a blockquote to describe the blockquote’s source:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
You can put the name of the source work in a <cite>
in a footer in a blockquote:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Or you just put a <cite>
directly into a blockquote, with no footer
(example from HTML5 Doctor):
As my fellow HTML5 Doctor, Oli Studholme has showed, people seldom quote exactly – so sacrosanctity of the quoted text isn’t a useful ideal – and in print etc, citations almost always appear as part of the quotation – it’s highly conventional.
Bruce Lawson
Here’s a version where the <cite>
contains a link:
As my fellow HTML5 Doctor, Oli Studholme has showed, people seldom quote exactly – so sacrosanctity of the quoted text isn’t a useful ideal – and in print etc, citations almost always appear as part of the quotation – it’s highly conventional.
You can nest blockquotes to an arbitrary depth:
Fusce porta quam non varius viverra. Cras mi dui, hendrerit sollicitudin neque sit amet, tempor laoreet elit. Vestibulum euismod nec justo at bibendum.
Vestibulum molestie nec massa et porta. Donec imperdiet pretium luctus. Etiam in malesuada lacus. Suspendisse eget velit lacinia, hendrerit lorem nec, pretium urna. Morbi tempor luctus sodales.
Vestibulum molestie nec massa et porta. Donec imperdiet pretium luctus. Etiam in malesuada lacus. Suspendisse eget velit lacinia, hendrerit lorem nec, pretium urna. Morbi tempor luctus sodales.
Vestibulum molestie nec massa et porta. Donec imperdiet pretium luctus. Etiam in malesuada lacus. Suspendisse eget velit lacinia, hendrerit lorem nec, pretium urna. Morbi tempor luctus sodales.
Vestibulum molestie nec massa et porta. Donec imperdiet pretium luctus. Etiam in malesuada lacus. Suspendisse eget velit lacinia, hendrerit lorem nec, pretium urna. Morbi tempor luctus sodales.
Nam commodo felis at tortor tempor, sit amet vestibulum lorem gravida. Suspendisse dignissim felis velit, vitae vehicula lorem gravida nec.
Here’s a blockquote with a header, list and code block in it, taken from the Markdown docs:
This is a header.
- This is the first list item.
- This is the second list item.
Here’s some example code:
return shell_exec("echo $input | $markdown_script");