I want to embed Google docs - and possibly Google sheets - in a GitLab markdown file. GitLab's markdown guide lists the following steps to do this:
- open your Google document
- click File -> Publish to the web
- choose Embed
- click on Publish and copy the
<iframe> - go to your markdown file and wrap the iframe into a
<figure>tag with the responsivevideo_containerclass like in this example:
<figure class="video_container">
<iframe src="https://docs.google.com/spreadsheets/d/1jAnvYpRmNu8BISIrkYGTLolOTmlCoKLbuHVWzCXJSY4/pubhtml?widget=true&headers=false"></iframe>
</figure>
Unfortunately this does not work for me. Instead of the embedded document I only see whitespace.