Gur*_*uru 0 powerpoint blogs slideshow jekyll
谁可以告诉我的步骤将Google共享幻灯片就像这对杰基尔我的博客?我是否必须将每个幻灯片转换为markdown格式,或者先转换为pdf,然后转换为markdown?
没头绪 请帮忙
要将Google幻灯片演示文稿嵌入Jekyll帖子或页面中,请打开演示文稿,然后从“文件”菜单中选择“发布到网络”。
选择所需的选项,然后选择“嵌入”选项卡。系统会为您提供嵌入代码。将此粘贴到您的Jekyll帖子或页面中-即直接粘贴到markdown文件中。照常生成您的网站,并将带有演示文稿的iframe嵌入呈现的HTML中。
之所以可行,是因为当Jekyll解析markdown时,它还会读取找到的任何HTML。
它不会立即响应,因此您需要一些CSS。我已经显示了此内联,但是您可以将CSS添加到样式表中:
<style>
.responsive-wrap iframe{ max-width: 100%;}
</style>
<div class="responsive-wrap">
<!-- this is the embed code provided by Google -->
<iframe src="https://docs.google.com/presentation/d/1F0DQTNPg3YG_By6LMGcgwT3icJ3eMhCiupAZm76CIfE/embed?start=false&loop=false&delayms=3000" frameborder="0" width="960" height="569" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>
<!-- Google embed ends -->
</div>Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
327 次 |
| 最近记录: |