You can embed a Google Doc or OneDrive document by using a special type of link. You need to make your document available for embedding.
-
The way to do this varies depending on the type of document:
-
For a Google Doc, select File > Publish to the web in your Google Doc. Next, copy the Link URL.
-
For Google Slides, select File > Publish to the web in your Google Slides. Next, copy the Embed link. You will need to edit this link before you use it in step 4. When editing, remove the frame information. For example, let's say your embed link looks like this:
<iframe src="https://docs.google.com/presentation/d/e/long_string_of_characters/embed?start=false&loop=false&delayms=3000" frameborder="0" width="960" height="569" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
You should remove
<iframe src=
" at the start and everything after /embed, so that the link looks like this:https://docs.google.com/presentation/d/e/long_string_of_characters/embed
-
For OneDrive:
-
-
Insert a
link
element in your topic where you want to embed the document. It needs to be in apara
, but the para should only contain that link. -
Add a
role
attribute. For a Google Doc, set it togdoc
, and for a OneDrive document, set it toonedrive
. -
Add an
xlink:href
attribute and set the value to the embed URL.
Comments
0 comments
Article is closed for comments.