Skip to main content

Crate resumark

Crate resumark 

Source
Expand description

resumark — ATS-safe resume typesetting from Markdown, in Rust.

Visually identical PDFs can carry scrambled text layers, and ATS parsers read the text layer, not the pixels. resumark treats extraction order as a contract: layout declares the reading order of every text run, the PDF backend emits the content stream in that order, and the built-in verify harness round-trips the output through pdftotext to prove it.

Re-exports§

pub use fit::autofit;
pub use fonts::FontBook;
pub use layout::A4;
pub use layout::LETTER;
pub use layout::Layout;
pub use layout::PageGeom;
pub use parse::ResumeDoc;
pub use parse::parse;
pub use pdfgen::DocMeta;
pub use pdfgen::render_bytes;
pub use pdfgen::write_pdf;

Modules§

fit
Auto-fit: shrink the type scale in small steps until the resume fits the page budget, exactly like the reference renderer — but by measuring the layout directly instead of rendering and counting pages.
fonts
Font loading and measurement over the five embedded Montserrat weights.
inline
Inline markdown: **bold**, *italic*, [text](url), and bare URLs.
layout
Layout: turns a parsed resume into positioned text runs and rules.
parse
Markdown resume parser — a line-oriented port of the reference renderer.
pdfgen
PDF emission over pdf-writer.
verify
The extraction-order harness: round-trip the rendered PDF through pdftotext and assert the text layer reads in declared order.