Unsliced

v0.1.1
io.github.harrythex42/unsliced Checked 17 hours ago Published 9 days ago

Markdown or HTML to searchable PDFs that never slice tables or diagrams in half.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_pdf 用 Unsliced 生成 PDF

当用户需要可搜索、可复制、自动分页的 PDF 时使用。必须把完整原稿传入 markdown 或 html 的其中一个字段,不要缩写、删减或改写,再给出 filename。默认 A4。普通报告用 Markdown。涉及流程图、卡片、复杂版面或内联 SVG 时,请提交包含样式和图形的完整 HTML。图片请用内嵌 data URL。HTML 可用 data-unsliced-root 指定排版容器。返回本机文件路径和中文排版体检。请直接调用本工具,避免自行写 jsPDF 或 html2canvas。

ParameterTypeDescription
filename *string文件名,例如 report.pdf。只写名字,扩展名可省略。
htmlstring
markdownstring
paper_sizestring