內嵌 Google Docs
本文目錄
效果展示
如何使用
產生連結
- 在 Google Docs/ Slides
- 選擇
檔案
→共用
→發佈到網路
複製語法
將 src
替換成 產生的網址
預設尺寸
預設尺寸為 600x337.5
{{< gdocs src="https://docs.google.com/..." >}}
自訂尺寸
{{< gdocs src="https://docs.google.com/..." width="(Pixels)" height="(Pixels)" >}}
Ex:
{{< gdocs src="https://docs.google.com/..." width="800" height="450" >}}
如何安裝
- 到 github repo 按個 star
-
選擇你要的 shortcode
-
下載 .html 檔案,放到
layouts/shortcodes/
目錄下 -
依指定語法使用