yoshuawuyts/components

[component] pdfmark — PDF ↔ Markdown conversion

Open

#14 opened on May 1, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (1 fork)github user discovery
good first issue

Repository metrics

Stars
 (1 star)
PR merge metrics
 (PR metrics pending)

Description

Goal

A pure Wasm component for extracting rich text/sections from PDF to Markdown, and optionally rendering Markdown back to PDF. Accepts bytes in, spits bytes out. Zero host I/O or network use; pure function.

Scope/Features

  • Extract text, page structure, and images from PDF input as Markdown
  • Optionally: render Markdown into simple PDF (round-trip)
  • Preserve metadata (title/author/etc) if feasible
  • Return errors on passworded/corrupted files

Rough WIT shape

  • extract(input: list<u8>) -> result<string, error>
  • render(md: string) -> result<list<u8>, error> (_optional)

Candidate crates/libs

Labels

  • good first issue

Leave a comment to claim or propose changes!

Contributor guide