Skip to main content

resumark/
lib.rs

1//! resumark — ATS-safe resume typesetting from Markdown, in Rust.
2//!
3//! Visually identical PDFs can carry scrambled text layers, and ATS parsers
4//! read the text layer, not the pixels. resumark treats extraction order as a
5//! contract: layout declares the reading order of every text run, the PDF
6//! backend emits the content stream in that order, and the built-in verify
7//! harness round-trips the output through `pdftotext` to prove it.
8
9#![forbid(unsafe_code)]
10
11pub mod fit;
12pub mod fonts;
13pub mod inline;
14pub mod layout;
15pub mod parse;
16pub mod pdfgen;
17pub mod verify;
18
19pub use fit::autofit;
20pub use fonts::FontBook;
21pub use layout::{A4, LETTER, Layout, PageGeom};
22pub use parse::{ResumeDoc, parse};
23pub use pdfgen::{DocMeta, render_bytes, write_pdf};