--- title: Markdown to PDF Converter Example ... Markdown to PDF Converter Example ================================= The `md2pdf` example program reads a markdown file and formats the content onto pages in a PDF file. It demonstrates how to: - Embed base and TrueType fonts, - Format text, - Embed JPEG and PNG images, - Add headers and footers, and - (Future) Add hyperlinks. Source Files ------------ The `md2pdf` program is organized into three source files: `md2pdf.c` which contains the code to format the markdown content and `mmd.h` and `mmd.c` (from the [Miniature Markdown Library][MMD] project) which load the markdown content. [MMD]: https://www.msweet.org/mmd/