Back to the catalog

prince-pdf

Convert HTML, Markdown, and XML documents to PDF using Prince

Open source Open in the app JSON README (API)

About

Convert HTML, Markdown, and XML documents to PDF using Prince

Details

Kind
Plugins
Topic
Files & documents
Publisher
yeslogic
Origin
gemini
Category
ferramentas
Version
1.0.0
Stars
1
Last push
2026-02-25T01:26:22Z
Repository state
ativo
Added
2026-08-30 14:13:39
Updated
2026-08-30 14:13:39
Origin id
yeslogic/prince-pdf-gemini

README

# Prince PDF - Gemini CLI Extension

Convert Markdown and HTML documents to high-quality PDF using the [Prince](https://www.princexml.com) formatting engine.

## Installation

```bash
gemini extensions install https://github.com/yeslogic/prince-pdf-gemini
```

## Usage

Once installed, three tools are available in Gemini CLI:

> Convert https://example.com to PDF

> Make a PDF from this HTML: `<h1>Hello World</h1><p>This is a test.</p>`

> Write a one-page resume and convert it to PDF

## Tools

| Tool | Input | Description |
|------|-------|-------------|
| `markdown_to_pdf` | `content` | Convert Markdown content to PDF |
| `html_to_pdf` | `content` | Convert HTML content to PDF |
| `url_to_pdf` | `url` | Fetch a URL and convert it to PDF |

**Common optional parameters:** `style`, `page_size`, `page_margin`, `javascript`, `pdf_profile`, `output_filename`

## Links

- [Prince Cloud](https://prince.cloud) - hosted MCP server
- [Prince documentation](https://www.princexml.com/doc/) - full Prince documentation
- [Privacy policy](https://prince.cloud/privacy/)

More