{"repo":"tiechui1994/gopdf","free":true,"listed":false,"github":"https://github.com/tiechui1994/gopdf","clone":"git clone https://github.com/tiechui1994/gopdf.git","description":"pdf document generation library","language":"Go","stars":128,"topics":["pdf","golang","gopdf","markdown","markdown-parser"],"license":"MIT","category":"media-processing","readme_excerpt":"gopdf 项目介绍 gopdf 是一个生成 PDF 文档的 Golang 库. 主要有以下的特点: - 支持 Unicode 字符 (包括中文, 日语, 朝鲜语, 等等.) - 文档内容的自动定位与分页, 减少用户的工作量. - 支持图片插入, 支持多种图片格式, PNG , BMP , JPEG , WEBP , TIFF - 支持文档压缩 - 复杂表格组件, 块文本等 - markdown 文本可以直接转换成 pdf - 手动实现了 markdown 解析库, 可以提供其他 markdown 开发 安装 案例展示: 代码参考 example/complex report test 代码参考 example/simple table test 代码参考 example/mutil table test 未来开发计划 1. 准备尝试开发 Markdown 的语法解析库, 然后通过解析库将 markdown 转换成 pdf, 可以支持定义一些颜色风格. 目前正 在研究 marked.js 前段库, 寻找灵感. 2. 优化 Markedown 的解析库, 调整 markdown 转 pdf 的参数, 使得 pdf 页面更美观. 3. 开发更加通俗易用的组件, 比如 paragraph , tablecell 等. 4. 使用 node 相关的技术进行桥接操作.","default_branch":null,"files":null,"tree":[],"storefront":"/r/tiechui1994","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tiechui1994/gopdf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}