render pdf link with preview
Merge pull request #2 from jfqd/master

render pdf link with preview