enable image previews
Configure math cheatsheet to show up.
Merge pull request #6 from tmsp1/image-preivew

enable image previews
refs #398: conditionally display the license link and the preview link
refs #398: simplify the last rev
Merge branch 'ticket398' into testing