Loading...
Loading...
Compare original and translation side by side
undefinedundefinedundefinedundefinedpython ~/.cursor/skills/md-to-zhihu/scripts/convert.py input.md| 参数 | 说明 | 默认值 |
|---|---|---|
| 输入的 Markdown 文件路径 | 必填 |
| 输出 HTML 文件路径 | |
| 主题风格 | |
| 仅输出纯净 HTML 内容(用于 API 发布) | 否 |
| 批量转换:指定目录路径 | - |
python ~/.cursor/skills/md-to-zhihu/scripts/convert.py input.md| Parameter | Description | Default Value |
|---|---|---|
| Path of the input Markdown file | Required |
| Path of the output HTML file | |
| Theme style | |
| Output pure HTML content only (for API publishing) | No |
| Batch conversion: specify directory path | - |
undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined
| 参数 | 说明 | 默认值 |
|------|------|--------|
| `--dir` | 批量发布:指定目录路径,发布所有 .md | - |
| `--delay` | 每篇文章发布间隔秒数(防限流) | `60` |
| `--draft` | 仅保存为草稿 | 否 |
| `--topic` | 文章话题,逗号分隔 | - |
| Parameter | Description | Default Value |
|------|------|--------|
| `--dir` | Batch publishing: specify directory path to publish all .md files | - |
| `--delay` | Interval (in seconds) between publishing each article (to avoid rate limits) | `60` |
| `--draft` | Only save as draft | No |
| `--topic` | Article topics, separated by commas | - |Ctrl+VCtrl+V--login--login--login--login