All Projects → tiechui1994 → Gopdf

tiechui1994 / Gopdf

Licence: mit
pdf document generation library

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Gopdf

Rdiscount
Discount (For Ruby) Implementation of John Gruber's Markdown
Stars: ✭ 756 (+1100%)
Mutual labels:  markdown, markdown-parser
Markdown
A super fast, highly extensible markdown parser for PHP
Stars: ✭ 945 (+1400%)
Mutual labels:  markdown, markdown-parser
Markdown2document
turn markdown files to a PDF or HTML document
Stars: ✭ 22 (-65.08%)
Mutual labels:  markdown, pdf
Backslide
💦 CLI tool for making HTML presentations with Remark.js using Markdown
Stars: ✭ 679 (+977.78%)
Mutual labels:  markdown, pdf
Markdown2pdf
A simple library to convert markdown to pdf using Java
Stars: ✭ 41 (-34.92%)
Mutual labels:  markdown, pdf
Recipes
Django application for managing recipes
Stars: ✭ 695 (+1003.17%)
Mutual labels:  markdown, pdf
Markdownviewerplusplus
A Notepad++ Plugin to view a Markdown file rendered on-the-fly
Stars: ✭ 865 (+1273.02%)
Mutual labels:  markdown, pdf
Zettlr
A Markdown Editor for the 21st century.
Stars: ✭ 6,099 (+9580.95%)
Mutual labels:  markdown, pdf
Mkdocs With Pdf
Generate a single PDF file from MkDocs repository.
Stars: ✭ 39 (-38.1%)
Mutual labels:  markdown, pdf
Markdown Latex
A markdown parser for converting markdown to LaTeX written in PHP.
Stars: ✭ 40 (-36.51%)
Mutual labels:  markdown, markdown-parser
Md2pdf
Offline markdown to pdf, choose -> edit -> transform 🥂
Stars: ✭ 632 (+903.17%)
Mutual labels:  markdown, pdf
O
🌀 Text editor suitable for writing git commit messages and editing Markdown files. Can build executables and jump to errors at the press of `ctrl-space`, for several programming languages. Can format code with `ctrl-w`. Provides general syntax highlighting, rainbow parenthesis and cut/paste portals. o is intentionally limited to VT100.
Stars: ✭ 54 (-14.29%)
Mutual labels:  markdown, pdf
Vscode Markdown Pdf
Markdown converter for Visual Studio Code
Stars: ✭ 571 (+806.35%)
Mutual labels:  markdown, pdf
Easybook
Book publishing as easy as it should be (built with Symfony components)
Stars: ✭ 744 (+1080.95%)
Mutual labels:  markdown, pdf
Remarkable
Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents.
Stars: ✭ 5,252 (+8236.51%)
Mutual labels:  markdown, markdown-parser
Markitdown
📱 A React app to preview and edit Markdown✍. You can also export it as HTML.
Stars: ✭ 26 (-58.73%)
Mutual labels:  markdown, markdown-parser
Mdpdf
Markdown to PDF command line app with support for stylesheets
Stars: ✭ 512 (+712.7%)
Mutual labels:  markdown, pdf
Mditor
📝 [ M ] arkdown + E [ ditor ] = Mditor
Stars: ✭ 523 (+730.16%)
Mutual labels:  markdown, markdown-parser
Gotenberg Go Client
Go client for the Gotenberg API
Stars: ✭ 35 (-44.44%)
Mutual labels:  markdown, pdf
Mybox
Easy tools of document, image, file, network, location, color, and media.
Stars: ✭ 45 (-28.57%)
Mutual labels:  markdown, pdf

gopdf

GitHub GitHub GitHub GitHub issues GitHub code size in bytes

项目介绍

gopdf 是一个生成 PDF 文档的 Golang 库. 主要有以下的特点:

  • 支持 Unicode 字符 (包括中文, 日语, 朝鲜语, 等等.)
  • 文档内容的自动定位与分页, 减少用户的工作量.
  • 支持图片插入, 支持多种图片格式, PNG, BMP, JPEG, WEBP, TIFF
  • 支持文档压缩
  • 复杂表格组件, 块文本等
  • markdown 文本可以直接转换成 pdf
  • 手动实现了 markdown 解析库, 可以提供其他 markdown 开发

安装

go get -u github.com/tiechui1994/gopdf

案例展示:

image

代码参考 example/complex_report_test

image

代码参考 example/simple_table_test

image

代码参考 example/mutil_table_test

未来开发计划

  1. 准备尝试开发 Markdown 的语法解析库, 然后通过解析库将 markdown 转换成 pdf, 可以支持定义一些颜色风格. 目前正 在研究 marked.js 前段库, 寻找灵感.

  2. 优化 Markedown 的解析库, 调整 markdown 转 pdf 的参数, 使得 pdf 页面更美观.

  3. 开发更加通俗易用的组件, 比如 paragraph, tablecell 等.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].