feat(report-generator): 支持 Markdown 报告一键转换为 HTML 和 PDF#1
Open
simonzhangs wants to merge 1 commit into
Open
Conversation
新增 md_to_pdf.py 脚本,将志愿填报报告 Markdown 转换为带样式 HTML 及无头 Chrome 打印的 PDF,并更新 SKILL.md 补充完整使用文档。脚本特性:跨平台检测 Chrome/Chromium/Edge(macOS/Linux/Windows);预处理修复嵌套列表缩进(2→4空格)与硬换行处理;中文字体栈与打印分页优化(表格/代码块/引用块避免跨页断裂);支持 CLI 与 Python 代码两种调用方式。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增 md_to_pdf.py 脚本,将志愿填报报告 Markdown 转换为带样式 HTML 及无头 Chrome 打印的 PDF,并更新 SKILL.md 补充完整使用文档。
脚本特性:跨平台检测 Chrome/Chromium/Edge(macOS/Linux/Windows);预处理修复嵌套列表缩进(2→4空格)与硬换行处理;中文字体栈与打印分页优化(表格/代码块/引用块避免跨页断裂);支持 CLI 与 Python 代码两种调用方式。