# 課程單元插入PDF檔

雖然編輯器支援可放PDF檔案，

但如果很多單元都放，會讓網站變的比較肥大且拖慢網站的速度，

所以會建議大家把檔案放去外部雲端，例如Google Drive或Dropbox等，

然後再將網址貼在編輯器內。

這樣的方式除了省下網站空間，

檔案的管理與開放權限可更彈性，

如是放在Google Drive中且不想讓人下載，可選擇 只供檢視 的權限，

哪天要換檔案或更新檔案，也只需在雲端中替換好再到Power編輯器中更新連結即可。

### <mark style="color:orange;">怎麼放PDF檔案？</mark>

1. 點擊 使用Power編輯器
2. 點一下 ＋ ，選擇  『媒體庫』

{% hint style="info" %}
如果你的檔案是放在Google Drive或Dropbox等雲端空間，將分享連結貼入編輯器中即可
{% endhint %}

<div align="left"><figure><img src="/files/uf9iSY4VVfU47kdVXgkU" alt="" width="375"><figcaption></figcaption></figure></div>

3. 點右上角 上傳檔案  按鈕 > 選擇要上傳的PDF檔案 > 點擊要使用的PDF檔案 >   點擊  確定選取   按鈕\
   ＊上傳完成的檔案會自動出現在列表中<br>

   <figure><img src="/files/15VrR2esMlHEjGxdzmNy" alt=""><figcaption></figcaption></figure>

4. 確認編輯器中有出現剛選擇的PDF檔案，點編輯器下方的 儲存內容 按鈕 >  最後點擊  儲存章節 按鈕即可完成

<div align="left"><figure><img src="/files/f0v60w7I0L1jMdqO6dsu" alt="" width="563"><figcaption></figcaption></figure></div>

<br>

以下為崁入完成的前台單元顯示畫面▼

<figure><img src="/files/BUgfReZUtmMCtZAmHhm9" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wpsite.pro/wp/powercourse-jiao-xue-wen-jian/ke-cheng-guan-li-she-ding/ke-cheng-dan-yuan-cha-ru-pdf-dang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
