1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-05 10:20:45 +00:00
TiddlyWiki5/languages/zh-Hant/Help/savewikifolder.tid
Bram Chen 42d4c5d5ab
Update chinese language files (#7575)
* Update help text for savewikifolder command
2023-07-01 14:13:31 +01:00

34 lines
1.4 KiB
Plaintext

title: $:/language/Help/savewikifolder
description: 將維基儲存到一個新的維基資料夾
<<.from-version "5.1.20">> 將當前維基儲存為一個維基資料夾,包含條目、插件和配置:
```
--savewikifolder <wikifolderpath> [<filter>] [ [<name>=<value>] ]*
```
* 目標維基資料夾必須為空或不存在
* 篩選器指定應包括哪些條目。其為可選,預設為 `[all[tiddlers]]`
* 官方插件庫中的插件,將替換為 `tiddlywiki.info` 檔案中引用到的插件
* 自訂插件將解壓縮到自己的資料夾中
支援以下選項:
* ''filter'':定義要包含在輸出中的條目的篩選器運算子。
* ''explodePlugins'': 預設為 "yes"
** ''yes'' 將 "分解" 插件為單獨的條目檔案,並將其儲存到維基資料夾內的插件目錄中
** ''no'' 將抑制分解插件到其組成的條目檔案中。它將把插件儲存為 tiddlers 資料夾中的單個 JSON 條目
Note that both ''explodePlugins'' options will produce wiki folders that build the same exact same original wiki. The difference lies in how plugins are represented in the wiki folder.
常見的用法是將一個 TiddlyWiki HTML 檔案轉換成維基資料夾:
```
tiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder
```
將插件儲存到目標維資料夾的 tiddlers 目錄中:
```
tiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder explodePlugins=no
```