Expand description
§Code To PDF
This crate provides primitives for generating PDFs containing syntax-highlighted code
code_to_pdf::CodeToPdf is the main struct for this so is likely the best place to start
Modules§
- code_
to_ pdf - Contains
HighlighterConfigandCodeToPdfstructs - dimensions
- Contains
Dimensionsstruct and implementations to simplify passing document dimensions where needed - font_
loader - Functions for loading fonts from the system fonts, a path, or using the bundled
Helveticafont - helpers
- Miscellaneous helper functions
- text_
manipulation - Primitives for wrapping text