Zayn's Blog/博客文章/Macos 一键 使用 wkhtmltopdf 将 html 转换为 pdf/Macos 一键 使用 wkhtmltopdf 将 html 转换为 pdf2021年7月12日·32 字·1 分钟· Unix Wkhtmltopdf作者Zayn专注 Kubernetes、CI/CD、可观测性等云原生技术栈,记录生产环境中的实战经验与踩坑复盘。 目录安装 wkhtmltopdf参考文档目录安装 wkhtmltopdf参考文档安装 wkhtmltopdf#使用 brew 进行安装brew install --cask wkhtmltopdf 将目录下的所有 html 文件一键转换为 pdf 格式for f in *.html; do wkhtmltopdf --load-error-handling ignore -n --enable-local-file-access $f "$f.pdf"; done 参考文档#https://segmentfault.com/a/1190000018988358https://github.com/wkhtmltopdf/wkhtmltopdf 相关文章使用 Kube-VIP 部署高可用 Kubernetes 集群2021年6月24日·739 字·4 分钟Kubernetes Kube-Vip Containerd Kubeadm Kubernetes使用 Kaniko 在 Kubernetes 中构建 Docker 镜像2021年6月15日·468 字·3 分钟CI/CD Kubernetes DevOps Kaniko Docker Kubernetes使用 Docker Compose 部署 Nexus3 Docker 私服并配置 Traefik 代理2021年6月10日·574 字·3 分钟网络 Https DevOps Nexus3 Traefik +2