Try   HackMD

如何另存 PDF

另存 PDF 是 Prime 付費功能

HackMD 是在瀏覽器中執行,因此顯示模式的結果是可以由瀏覽器的列印功能,另存為 PDF 的。

 

操作方法

方法一

  1. 切換到顯示模式
    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →
  2. 捲動到文件尾端(這是要讓瀏覽器完整算繪筆記內容)
  3. 請點按瀏覽器功能選單的【檔案】 → 【列印】 → 【另存為 PDF】

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
另存為 PDF 時的選項

上面第三步驟「另存為 PDF」有許多選項可調整,可以輸出的 PDF 檔案更符合你的期待。

  • 頁面: 可去除空白頁。例如 2-4,就只會輸出第 2~4 頁。
  • 縮放: 自訂縮放比例。
  • 邊界: 自訂邊界大小。
  • 頁首及頁尾: 拿掉頁首和頁尾,文件更正式。

此方法不會套用深色模式或

方法二

  1. 在編輯頁打開筆記選單
  2. 選擇匯出的【PDF】將會開始下載PDF檔

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

關於筆記中的圖片

由於圖片的閱讀權限和筆記設定直接相關,建議匯出PDF之前先將筆記設定為「所有人」可閱讀,再執行匯出的操作。

如有更多疑問,請來信 support@hackmd.io

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

 

每月限制

您可以在【設定>筆記設定>近期匯出的PDF】查看最近 5 筆匯出紀錄。

紅框處可以查看當前的用量,每個月限制匯出 100 次筆記。

什麼時候會重置可匯出次數?

每個月匯出次數的重置時間與您的帳號 Prime 訂閱週期日期相同。

例如:您的 Prime 訂閱時間為 7/25 則每個月的次數會在 7/25 重置。

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
小撇步

想要匯出的PDF在指定的地方換頁,該怎麼做?

請您先在筆記中加入CSS設定(此處設定預設A4尺寸):

<style>
    @page {
      size: A4;
      margin: 20mm;
    }
    .page-break-before {
      page-break-before: always;
    }
    .page-break-after {
      page-break-after: always;
    }
    .avoid-page-break {
      page-break-inside: avoid;
    }
  </style>

接著請您在想要換頁的地方插入以下語法,就能在匯出的時候達到指定位置換頁的效果:

<div class="page-break-before"></div>

以上的換頁CSS語法應用,將會是

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

<style>
    @page {
      size: A4;
      margin: 20mm;
    }
    .page-break-before {
      page-break-before: always;
    }
    .page-break-after {
      page-break-after: always;
    }
    .avoid-page-break {
      page-break-inside: avoid;
    }
</style>

# 我的週記

## 12/23 週一
天氣:晴
活動:餐敘、讀書會

<div class="page-break-before"></div>

## 12/24 週二
天氣:多雲
活動:瑜珈、健走

<div class="page-break-before"></div>

## 12/25 週三
天氣:陰時多雲
活動:聖誕交換禮物