glu
Convert Markdown, HTML, and Lua into production-grade PDFs.
Run a cross-platform command-line tool that turns Markdown or HTML into PDF and exposes Lua for full programmatic control. glu supports YAML frontmatter, custom CSS, Go templates, syntax highlighting, TeX math, attachments, reusable project templates, and tagged PDF/UA or archival PDF/A output.
Product preview
See glu in action

What is glu best for?
glu is a free Markdown tool best suited to automated, accessible, and highly customized pdf publishing from markdown. It is available as CLI on macOS, Windows, Linux, CLI, and its source status is open source.
At a glance
- Pricing
- Free
- Source
- Open source
- Best for
- Automated, accessible, and highly customized PDF publishing from Markdown
Capabilities
- Markdown to PDF
- HTML to PDF
- Lua scripting
- custom CSS
- PDF/UA and PDF/A
- TeX math
- reproducible builds
Platforms
Surfaces
Related tools
MDZelo
Publish Markdown chapters as a browsable reading site.
MDZelo is a hosted Markdown publisher for documentation, tutorials, and fiction. Upload .md files or a ZIP archive containing chapters and images, then organize the chapters into a table of contents. A browser editor provides Markdown source and a live preview. Save changes as drafts and publish a separate version when the chapters are ready. Readers can navigate chapters, search published content, and share chapter links. The author dashboard requires a verified account, with free registration advertised.
Web app
Web
Blognami
Publish a Markdown blog on your own terms.
Write posts and pages in a Markdown editor with a side-by-side preview, organize them with tags, and publish through a hosted or self-hosted blog. Blognami includes passwordless sign-in and supports multiple blogs from one installation. Its MIT-licensed source includes the blogging app and underlying JavaScript framework; hosted use has a free tier and a paid custom-domain option.
Web app · CLI · Library
Web · CLI