Add function of simple preview.
Merge pull request #6 from isuke/preview

Add function of simple preview.