JumpstartLab/curriculum — pull request #290 by burtlo (2012-09-29 21:18:21+00:00)
Title: codesample tag and archive tag

codesample
----------

To make the tutorials more DRY I collaborated with @tkiefhaber on the
creation of a codesample tag which will download the code and create a
code section, as if you had copy-and-pasted it.

I also added a tag that will use a filepath to a local repository.

This allows for those of us to generate tutorials to create them in a
git repository and be able to specify the commits to the particular
files.

{% codesample github user@repository file:commit %}

archive
-------

During the instruction of classes I noticed that we as instructors were:

* Having to talk through setup of folders and initial files
* Copy and pasting the code of the implementation after completing an iteration.

The archive tag allows you to quickly link to the archives that Github
generates when you assign a commit a particular tag. Hopefully this will
make it easier for users to get started by giving them their initial
file system and also code checkpoints along the way.

{% codesample file filepath file:commit }

![Archive
Tag](https://img.skitch.com/20120929-x8pykgp917481i2ac2t5a9fn2j.jpg)