marker

Convert PDFs to Markdown while preserving LaTeX formulas and document structure.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/dzackgarza/ai --skill marker-dzackgarza
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: marker
Source: https://github.com/dzackgarza/ai/tree/main/opencode/skills/marker
Command: npx skills add https://github.com/dzackgarza/ai --skill marker-dzackgarza

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Converts PDFs to Markdown while preserving LaTeX formulas and document structure, eliminating manual reformatting.

Core Features & Use Cases

  • Preserve math and layout when converting academic papers, reports, and slides.
  • Provide a Python API (pdf_to_markdown) and a CLI workflow via marker_single for automation.
  • Support configurable timeouts, temporary cleanup, and deterministic output locations.

Quick Start

Call pdf_to_markdown('your_file.pdf') to convert a PDF to Markdown instantly.

Frequently Asked Questions about marker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert PDFs to Markdown while preserving LaTeX math formulas?

To convert PDFs to Markdown with math preserved, call the pdf_to_markdown Python API with your target file. This extracts text while keeping LaTeX formulas and document structure intact without manual reformatting.

What is the best way to extract mathematical content from academic papers into Markdown?

The best way to extract mathematical content from academic papers is using a PDF to Markdown converter that preserves LaTeX. This handles academic papers, reports, and slides with mathematical content for consistent outputs.

Can I automate PDF to Markdown conversion from the command line?

Yes, you can automate PDF to Markdown conversion using the marker_single CLI workflow. It allows automated processing with configurable settings for timeouts, temporary file cleanup, and deterministic output locations.

Does the PDF to Markdown conversion handle complex document structures like slides and reports?

Yes, PDF to Markdown conversion handles complex document structures like slides and reports. It preserves the original document structure and LaTeX formulas, yielding consistent and editable Markdown outputs.

Why do I need a specialized tool for PDF to Markdown text extraction?

You need a specialized tool for PDF text extraction to prevent losing mathematical notation. Standard methods often drop LaTeX formulas, whereas this conversion preserves math and document layout automatically.