mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-23 16:08:53 -05:00
Merge pull request #509: docs for left-aligned pullquotes.
This commit is contained in:
parent
6ae3369466
commit
2381f5092e
@ -21,6 +21,13 @@ When writing longform posts, I find it helpful to include pull quotes to help re
|
||||
It is important to note that {" pull quotes are merely visual in presentation and should not appear twice in the text. "} That is why it a CSS only technique for styling pull quotes is preferable. Octopress includes a handy pull quote plugin to make this easy for you.
|
||||
{% endpullquote %}
|
||||
|
||||
Alternately, you can use "pullquote left" to create left-aligning pullquotes. They look like this in Markdown:
|
||||
|
||||
{{ "{% pullquote left" }} %}
|
||||
Left-aligning pullquotes are good to alternate breaks in the text. They're
|
||||
{" almost exactly like the default, "} right pullquotes, but a little different.
|
||||
{{ "{% endpullquote" }} %}
|
||||
|
||||
**Inspect the source** and you'll see the pulled content appears in the data-pullquote attribute of the paragraph. The pull quote effect is created
|
||||
entirely with CSS, and is supported by all modern browsers as well as IE8 and up.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user