Raveen Kumar

How to use iframe to embed Google Docs into a bear blog post

If you have a Google Docs document that you are constantly updating, and you want to keep it as a bear blog post as well, you use the Google Docs publish feature to publish the document to the web and copy the iframe link into the bear blog post.

Raveen Kumar

Raveen Kumar

In your iframe tag, set your height and width to your preference with height="500" width="700" attributes like so,

<iframe src="https://docs.google.com/document/d/e/2PACX-1vSw2n77h9aGDo24CWLjFzck-92f8njTQuu314x9yTrs52bLZZznzCzAQXYueH_QjReHtHrDXt3J0bIJ/pub?embedded=true" height="500" width="700"></iframe>

#bearblog #posts #programming