pdf Card

PDF Cards

A pdf card is a document whose text has been extracted — the rendered markdown is the card body, and the original bytes stay attached beside it. It is what bbx scan-import writes for a scanned PDF that already carries a text layer (a scanner's own OCR, or a born-digital PDF).

Where the bytes live

Everything is inside the card's own attach scope, so refs are attach/…:

Frontmatter

Body

The rendered markdown of the document — headings, paragraphs, and tables as markdown tables. Figures appear as inline image references into the attach scope. Treat it as a faithful-but-lossy view: it is the right thing to read, search, and quote, and the original plus the page renders are there when it is not enough.

The contains: field

Give this card a one-sentence contains: — the prime retrieval field for bbx search and listings. How to write a good one (carry the information when it's concise, never a list of parts, under 200 characters) is in the agent guide's ABOUT_CARDS section.