TiddlyWiki5/languages/zh-Hans/Help/import.tid

25 lines
698 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

title: $:/language/Help/import
description: 从文件导入条目
从 TiddlyWiki 文件 (`.html`)、`.tiddler`、`.tid`、`.json` 或其他本机文件导入条目。必须明确指定解串器,而不像 load 命令,从文件扩展名推断解串器。
```
--import <filepath> <deserializer> [<title>] [<encoding>]
```
核心的解串器包括:
* application/javascript
* application/json
* application/x-tiddler
* application/x-tiddler-html-div
* application/x-tiddlers
* text/html
* text/plain
导入的条目名称,默认为文件名。
编码默认为 "utf8",但用于导入二进制文件可以是 "base64"。
请注意TiddlyWiki 不会导入旧版本的已加载插件。