Search

PythonReactSEOPDF
OpenClaw

md-to-pdf

Convert markdown files to clean, formatted PDFs using reportlab

araa470 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install araa47/md-2-pdf

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Markdown to PDF

Convert markdown documents to professional, clean PDFs with proper formatting.

Usage

# Basic usage
uv run scripts/md-to-pdf.py input.md

# Specify output
uv run scripts/md-to-pdf.py input.md -o output.pdf
uv run scripts/md-to-pdf.py input.md --output my-report.pdf

# Verbose mode
uv run scripts/md-to-pdf.py input.md -v

Features

  • Headers: H1-H6 with hierarchical styling
  • Text formatting: Bold, italic, inline code
  • Lists: Bullet lists, numbered lists, task lists
  • Code blocks: Syntax highlighting with background
  • Tables: Full table support with headers
  • Links: Clickable hyperlinks
  • Horizontal rules: Visual section dividers
  • YAML frontmatter: Automatically skipped
  • Special characters: Emojis, Unicode symbols
  • Page numbers: Automatic footer with page numbers
  • Professional styling: Clean, readable output

Options

  • -o, --output: Output PDF file path (default: input_filename.pdf)
  • -v, --verbose: Print detailed processing information

Supported Markdown Elements

Element Syntax Status
Headers # H1 to ###### H6 ✅
Bold **text** or __text__ ✅
Italic *text* or _text_ ✅
Inline code `code` ✅
Code blocks ``` ✅
Bullet lists - item or * item ✅
Numbered lists 1. item ✅
Task lists - [x] done ✅
Tables ` col
Links [text](url) ✅
Horizontal rules --- or *** ✅
Blockquotes > quote ✅

Source information

Source
github
Repository
openclaw/skills
Path
skills/araa47/md-2-pdf
Version
—
Commit
77ab028c38ec1c443a671e52fdb570c49311d155
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Markdown to PDF

Convert markdown documents to professional, clean PDFs with proper formatting.

## Usage

```bash
# Basic usage
uv run scripts/md-to-pdf.py input.md

# Specify output
uv run scripts/md-to-pdf.py input.md -o output.pdf
uv run scripts/md-to-pdf.py input.md --output my-report.pdf

# Verbose mode
uv run scripts/md-to-pdf.py input.md -v
```

## Features

- **Headers**: H1-H6 with hierarchical styling
- **Text formatting**: Bold, italic, inline code
- **Lists**: Bullet lists, numbered lists, task lists
- **Code blocks**: Syntax highlighting with background
- **Tables**: Full table support with headers
- **Links**: Clickable hyperlinks
- **Horizontal rules**: Visual section dividers
- **YAML frontmatter**: Automatically skipped
- **Special characters**: Emojis, Unicode symbols
- **Page numbers**: Automatic footer with page numbers
- **Professional styling**: Clean, readable output

## Options

- `-o, --output`: Output PDF file path (default: input_filename.pdf)
- `-v, --verbose`: Print detailed processing information

## Supported Markdown Elements

| Element | Syntax | Status |
|---------|--------|--------|
| Headers | `# H1` to `###### H6` | ✅ |
| Bold | `**text**` or `__text__` | ✅ |
| Italic | `*text*` or `_text_` | ✅ |
| Inline code | `` `code` `` | ✅ |
| Code blocks | ``` | ✅ |
| Bullet lists | `- item` or `* item` | ✅ |
| Numbered lists | `1. item` | ✅ |
| Task lists | `- [x] done` | ✅ |
| Tables | `| col | col |` | ✅ |
| Links | `[text](url)` | ✅ |
| Horizontal rules | `---` or `***` | ✅ |
| Blockquotes | `> quote` | ✅ |

Related skills

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance

OpenClaw

firecrawl

capt-marbles

Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL...