Including presentations

You can include presentations from various sources in your texts. For example, you can add PowerPoint presentations (through SlideShare) and Google Slides presentations. For example, to include a Google Slides presentation you can write:

```googleslides
    url: https://docs.google.com/presentation/d/e/2PACX-1vTXmzelkvgVwjw5K12W1b6pUw7FSLI9hzKhtNePvU2d8N4OjA9Kf0BV6FFTrQiH8C4hq_AfYSAk6948/pub
    autoplay: true
```

This is built up as follows: 

  • The first line consists of three backquotes, followed by the type of presentation (googleslides, or slideshare), to describe the type of block.
  • Next there is either the url that points to the presentation that must be shown in the block, or the id of the presentation (see below).
  • This can be followed by some options (see below).
  • And the block is ended by three backquotes.

Options

The following options exist for both types of presentations:

SlideShare

SlideShare is a free service (by LinkedIn) to distribute presentations. After you create an account you can upload PowerPoint presentations, OpenOffice, and also documents (pdf, doc, txt). Getting SlideShare presentation in you texts is slightly more work that for other types of external content. First go to the presentation in SlideShare. Below the presentation there is a button Share. Here you find an embed code that e.g. looks as follows:

<iframe src="//www.slideshare.net/slideshow/embed_code/key/ mcQl0fTfEcQ7WI" width="595" height="485" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a href="//www.slideshare.net/Slideshare/get-started-with-slide-share" title="Getting Started With SlideShare" target="_blank">Getting Started With SlideShare</a> </strong> from <strong><a href="https://www.slideshare.net/Slideshare" target="_blank">LinkedIn SlideShare</a></strong> </div>

It is rather large. But the only part you need from it is the key or id, given in bold above (or the link that starts with // and ends with the key). That id is what you add, as follows:

```slideshare
    id: mcQl0fTfEcQ7WI
```

Note that you cannot use the normal link for the presentation. You must take the id from the embed code.

Google slides

With Google Slides you can make presentation online. For personal use it it free. For businesses it is part of Google Suite. Google Slides has it own format but it can also deal with PowerPoint presentations. You can include Google Slides in you text as follows. If you edit you presentation, in the menu under File there is an option to Publish to the web. If you next select the Link tab you can get a link. (You might first need to indicate that you want to publish the presentation.) This link will look as follows:

https://docs.google.com/presentation/d/e/2PACX-1vTXmzelkvgVwjw5K12W1b6pUw7FSLI9hzKhtNePvU2d8N4OjA9Kf0BV6FFTrQiH8C4hq_AfYSAk6948/pub?start=false&loop=false&delayms=3000

You can put this whole link in the url parameter or you can use the id instead. The id is indicated in bold above. This will look as follows:

```googleslides
    id: 2PACX-1vTXmzelkvgVwjw5K12W1b6pUw7FSLI9hzKhtNePvU2d8N4OjA9Kf0BV6FFTrQiH8C4hq_AfYSAk6948
```

Google SIides presentations allow for the following additional options:

  • autoplay. Whether to immediately start playing the presentation. Possible values are true and false. Default is false.
  • loop. Whether to loop the slide show at the end. Possible values are true and false. Default is false.
  • speed. How fast to go thru the slides. Possible values are slow, medium, and fast. Default is medium).

PowerPoint

Although we do not support PowerPoint directly you can use both options above for it. You can upload your PowerPoint presentation to SlideShare and then include it from there. Or you can place it in you Google drive, open it with Google Slides, and share it from there.

Still need help? Contact Us Contact Us