| # EbookBuilder: Formatting & Conversion | |
| Once content is generated, it must be transformed into a reader-ready format. | |
| ## Standard Structure | |
| - `metadata.yaml`: Contains title, author, and CSS paths. | |
| - `chapters/`: Individual markdown files. | |
| - `assets/`: Images and fonts. | |
| ## Conversion Tools | |
| - **Pandoc**: The "Swiss army knife" of document conversion. Use it to go from Markdown to EPUB or PDF. | |
| - **KindleGen**: For final MOBI/AZW3 optimization. | |
| ## Visuals | |
| - Use **FLUX.1** or **Stable Diffusion XL** for cover art and internal illustrations. | |