-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PrintCSS #291
Conversation
This reverts commit be19122.
also tree-sitter patches also requirements.txt
这个是生成出来的产品 |
你稍微介绍下这是个啥,别广提 pr。 |
还是那句话,让代码块强制换行显得观感很差。 |
基于 README.md 利用 PrintCSS 技术生成 PDF 文件。 README.md 被 generate.py 利用 mit2html 转换为 HTML 并套入 template.html 模板,得到的 HTML 文件被 pagedgen 转换为 PDF。
.github 里的两个 patch 是用来 patch tree-sitter 源码的,src/现代C++题目 是上述那一套流程需要用到的一些东西
你选一个。 |
python-slugify>=7.0.0 | ||
marko>=2.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看看能不能换成 pyproject.toml,可选安装依赖
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LHW 毕竟也不是个 python 项目,用 pyproject,toml 感觉有些大材小用了。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LHW 毕竟也不是个 python 项目,用 pyproject,toml 感觉有些大材小用了。
主要是本地编译或者每次CI的时候不想装多余py模块
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个带来的影响可以忽略,毕竟也没有多少包需要装。
我觉得 4 比较实在。 |
Fix #284