pi-markitdown

pi extension wrapping markitdown CLI

Package details

extension

Install pi-markitdown from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-markitdown
Package
pi-markitdown
Version
1.0.2
Published
Apr 26, 2026
Downloads
247/mo · 247/wk
Author
dnevb
License
unknown
Types
extension
Size
16.8 KB
Dependencies
0 dependencies · 4 peers
Pi manifest JSON
{
  "extensions": [
    "extensions/pi-markitdown/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-markitdown

pi extension wrapping markitdown CLI. Converts PDF, DOCX, PPTX, XLSX, images, audio, HTML, and URLs → markdown so the LLM can ingest arbitrary documents.

Requirements

pipx install 'markitdown[all]'
uv tool install markitdown --with 'markitdown[all]'
# or just have pipx or uvx installed

Install

pi install git:github.com/dnevb/pi-markitdown
pi install npm:pi-markitdown

Tool: markitdown

param type description
source string Path to file or URL to convert
output_path string? Write markdown to file instead of returning it
use_plugins boolean? Enable markitdown plugins (--use-plugins)
docintel_endpoint string? Document Intelligence endpoint (-d -e <endpoint>)

Behavior

  • Missing binary → error message with install instructions
  • Output > 50 KB → truncated with warning
  • Non-zero exit code → isError: true with stderr