Add Pygments cod highlighting

This commit is contained in:
Michael Rose
2013-05-28 09:00:43 -04:00
parent 298a6dff6f
commit ffbb888c22
7 changed files with 316 additions and 292 deletions

View File

@@ -20,13 +20,13 @@ Here are some examples of what a post with images might look like. If you want t
Apply the `half` class like so to display two images side by side that share the same caption.
~~~ html
{% highlight html %}
<figure class="half">
<img src="/images/image-filename-1.jpg">
<img src="/images/image-filename-2.jpg">
<figcaption>Caption describing these two images.</figcaption>
</figure>
~~~
{% endhighlight %}
And you'll get something that looks like this:
@@ -40,14 +40,14 @@ And you'll get something that looks like this:
Apply the `third` class like so to display three images side by side that share the same caption.
~~~ html
{% highlight html %}
<figure class="third">
<img src="/images/image-filename-1.jpg">
<img src="/images/image-filename-2.jpg">
<img src="/images/image-filename-3.jpg">
<figcaption>Caption describing these three images.</figcaption>
</figure>
~~~
{% endhighlight %}
And you'll get something that looks like this: