Here is my attempt at pull quotes in the Lanyon/Poole theme for Jekyll:
|
|
I just learned that Kramdown makes it easy to specify classes and attributes. So, this produces the pull quote:
|
|
The final result looks like this:1
“Pull quotes are easy to code and add a nice touch to the site.” {:.pquote}
Donec id elit non mi porta gravida at eget metus. Donec id elit non mi porta gravida at eget metus. Vestibulum id ligula porta felis euismod semper. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam id dolor id nibh ultricies vehicula ut id elit. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Cras mattis consectetur purus sit amet fermentum. Donec id elit non mi porta gravida at eget metus. Donec id elit non mi porta gravida at eget metus. Vestibulum id ligula porta felis euismod semper.
-
It is easy to add quotation marks automatically, using the “before” and “after” class selectors. I decided not to do this for the sake of flexibility. ↩︎