DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to convert a scanned PDF to Markdown with page labels with LT2 MD

Turn a scanned or formula-heavy PDF into Markdown where every block shows its source page.

  • Top pick
  • Research
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Codex

Who it is forA graduate student or researcher with an old book, archive, or scanned report that has no text layer, and needs text they can cite by page.

The problemOrdinary extraction returns nothing from scans, and plain OCR misreads formulas and figure labels without showing where a sentence came from.

The outcomeA Markdown file for the chosen page range, with formulas kept, figures described beside their captions, every block labeled with its PDF page, and transcription notes where the page is unclear.

What you need first

  • Python installed on Windows, Linux, or macOS
  • git installed to clone the repository
  • A supported AI agent that can load the skill (the README names Claude Code and Codex)
  • The PDF file to convert, with the page range you want
  • A host model that can understand images, since transcription quality depends on it

Steps

  1. Clone the skill into your agent's skills directory, for example git clone https://github.com/libnyx/LT2MD.git ~/.claude/skills/LT2MD on macOS or Linux with Claude Code.
  2. Start your agent and send it the conversion request with the PDF path and the page range.
  3. Ask the agent to keep formulas, describe every figure next to its caption, and add transcription notes where text is unclear.
  4. Wait for the batch-by-batch run to finish and the validator to report.
  5. Open the Markdown and check the handled range, the validation result, and every transcription note before using it.

Prompt for your agent

Use the LT2MD skill in the libnyx/LT2MD repo to convert pages <page range> of <path to scanned PDF> to Markdown. Keep formulas, write an image description beside every figure, label each block with its PDF page number, add transcription notes where anything is unclear, and run the validator. Expected output: one Markdown file plus a summary of the validator result; verify that the page labels match the source pages.

Caveat. LT2 MD does not promise OCR is always right, so check the transcription notes and go back to the source page for any critical detail.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for libnyx/LT2MD and "Convert a scanned PDF to Markdown with page labels"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer