[Obs#65] Obsidian exporter:將儲存庫匯出成標準Markdown格式

這次要介紹的不是Obsidian系統本體的使用、外掛或樣式主題,而是第三方的工具應用,能匯出整個儲存庫的md檔,並轉換為標準的Markdown語法。
如果有需要將Obsidian語法轉換成標準語法時,能使用這個命令行工具Obsidian export輕鬆完成。

Obsidian expor使用Rust語法開發,有Windows、macOS與Linux三個版本。

安裝

  1. Github Releases下載
  2. 下載obsidian-export_Windows-x64_64.exe時若瀏覽器顯示警告對話窗,選用保留
    01

使用

使用選項

obsidian-export_Windows-x64_64.exe 來源儲存庫路徑 輸出儲存庫路徑

  • 可使用 -h 列出所有可使用的選項
Usage: obsidian-export_Windows-x64_64.exe [OPTIONS]

Positional arguments:
  source                     Read notes from this source
  destination                Write notes to this destination

Optional arguments:
  -h, --help                 Display program help
  -v, --version              Display version information
  --start-at START-AT        Only export notes under this sub-path
  --frontmatter FRONTMATTER-STRATEGY
                             Frontmatter strategy (one of: always, never, auto) (default: auto)
  --ignore-file IGNORE-FILE  Read ignore patterns from files with this name (default: .export-ignore)
  --hidden                   Export hidden files (default: false)
  --no-git                   Disable git integration (default: false)
  --no-recursive-embeds      Don't process embeds recursively (default: false)
  --hard-linebreaks          Convert soft line breaks to hard line breaks. This mimics Obsidian's 'Strict line breaks' setting (default: false)
  • 輸出路徑必須存在,否則無法執行

相關鏈接

教學影片

##

您可能也會有興趣的類似文章

簡睿

服務於軟體業的資訊老兵。興趣廣泛,學習力佳,樂於分享所知所學。

您可能也會喜歡…

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *