I've create a new extension that use google pdf viewer to preview a file whether a local file or a online file
you can fork it at
yet it still in beta with minor fix needed (if any) :)
simple example are
- [gviewer file=<yourlocalfile>]
- [gviewer url=<youronlinefile>]
however what is would like to ask:
- how to preview a google docs?
- how to preview a pdf in local folder?
as an example, how can I preview a local file in folder Files/ in an appropriate URL