返回顶部
s

smartpage

Auto-fit Markdown to one A4 page. Binary search optimal font size, render with 10 themes, export PDF+PNG+MD.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
62
下载量
0
收藏
概述
安装方式
版本历史

smartpage

## Workflow When user asks to format/layout a document to one A4 page: 1. **Setup** (if repo not present): ```bash git clone https://github.com/fxjhello/SmartPage.git cd SmartPage npm install ``` 2. Convert source (PDF/DOCX/Excel) to Markdown first if needed 3. Write Markdown to a temp file 4. Run CLI (default output to user desktop): ```bash npm smartpage <file.md> --theme <theme> --output-dir <user-desktop-path> ``` 5. Read output files (PDF/PNG/MD), send to user 6. **After delivery, ALWAYS:** - Ask: `效果满意吗?如需微调可以帮你打开 Web 编辑器` - If user wants to tweak, start the dev server and open the browser: ```bash cd SmartPage npm run dev ``` Then open `http://localhost:5173` in the browser for the user. ## CLI Options | Flag | Default | Values | |------|---------|--------| | `--theme` | classic | classic, warm, academic, editorial, smartisan, noir, mint, ink, tech, kraft | | `--font` | Noto Sans SC | Any font family | | `--margin` | 20 | mm | | `--line-height` | 1.5 | ratio | | `--paragraph-spacing` | 0.5 | em | | `--first-line-indent` | 0 | em | | `--output-dir` | (current dir) | Path | | `--output-name` | output | Name without extension |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 smartpage-1775886374 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 smartpage-1775886374 技能

通过命令行安装

skillhub install smartpage-1775886374

下载 Zip 包

⬇ 下载 smartpage v1.0.0

文件大小: 1.52 KB | 发布时间: 2026-4-12 11:27

v1.0.0 最新 2026-4-12 11:27
Initial release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部