Skip to content

Instantly share code, notes, and snippets.

@hsleonis
Last active February 1, 2024 14:18
Show Gist options
  • Save hsleonis/7edead8c871f0b12c8ee82bfbfa045a7 to your computer and use it in GitHub Desktop.
Save hsleonis/7edead8c871f0b12c8ee82bfbfa045a7 to your computer and use it in GitHub Desktop.
Google Doc Viewer Iframe at any website
<!--
Parameters:
url: document url (encode the url if it containes parameters, etc.), must be publicly available
hl: language (ex: en, ar, bn etc.)
embedded: embededable link, value true/false [MUST be used true to show]
-->
<iframe src="https://docs.google.com/viewerng/viewer?url=http://show.pdf&hl=bn&embedded=true"></iframe>
@Mahadev358
Copy link

This API is safe?
it will store my document anywhere?

if i use this my doc will safe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment