Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Basic image retrieval, cmdargs does not work #134
The command-line args will work once 2.0 drops, but sadly it's been mucked up because Jekyll 1.x uses Commander which uses symbol keys, but Jekyll 2.x uses Mercenary which uses string keys so it's a whole thing.
This looks pretty good! It'd be baller if you could separate this stuff out into a separate method so we can unit test it, then... you guessed it: add a quick test for it! Thank you!
I did my best, though review this patch with grain of salt as I do not know Ruby at all (Yes, I've lost my Ruby virginity for this patch).
Note: I forgot to mention that this patch also REPLACES any class in PRE elements to "prettyprint".
These settings worked the best for me but side affects must be considered.