Pdfjs Syntax Text Layer

Use when adding selectable/searchable text overlay to rendered PDF pages or extracting text content from PDFs. Prevents the common mistake of using the deprecated renderTextLayer() function instead of the v5 TextLayer class. Covers TextLayer class, getTextContent(), streamTextContent(), CSS overlay positioning, text selection, and plain text extraction. Keywords: TextLayer, getTextContent, text selection, text extraction, textContentSource, select text in PDF, copy text from PDF, searchable PDF, extract text, text overlay.

Impertio-Studio Updated 203 repo stars
15 Deterministic Skills for PDF.js

File contents

Impertio-Studio/PDFjs-Claude-Skill-Package commit 6197395168

Frequently asked questions

npx get-skill add impertio-studio/pdfjs-syntax-text-layer