Allow stylesheet option to be a function.
Merge pull request #1 from Connorhd/patch-1

Allow stylesheet option to be a function.