This is part two of my application to Hungry Academy. Part one lives at: http://www.youtube.com/watch?v=-Ze-dcVY05k
Recently I [made a pull request][1] to improve Octopress' pullquote plugin.
The improvement happened in pullquote.rb and _typography.scss. These files allow users to create pullquotes as demonstrated in [the documentation][2]. Pullquotes are by default right-aligned. I wanted to be able to use pullquotes with either left or right alignment. I worked to modify existing code to allow left aligning pullquotes.
I added a condition which assigns a very simple regular expression to the existing initialization which assigns a variable to "left" if the liquid tag contains the word "left", and "right" otherwise. The plugin creates an html tag with alignment indicated in the class.
Then, I edited the Sass to interpret the new class to float left and mirror the margins of its right-aligned counterpart.