FluxMarkdown can export the rendered view of any Markdown document to a PDF or a standalone HTML file. Both formats capture everything visible in the preview: rendered diagrams, syntax-highlighted code, math, images, and the active theme. Export is available in the standalone app; the QuickLook panel only renders previews and does not expose export actions.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xykong/flux-markdown/llms.txt
Use this file to discover all available pages before exploring further.
PDF export
Open the file in the app
Double-click a
.md file in Finder to open it in the FluxMarkdown app window, or press Cmd+O to open a file.Adjust the font size
A save panel opens with a font-size slider (range: 8–72 px). The slider is pre-set to the current effective visual font size — the base font size multiplied by the active page zoom. Adjust it if you want a different print size from what you see on screen.
What the PDF includes
- Rendered Markdown body at the font size chosen in the save panel
- Syntax-highlighted code blocks (styles are inlined for the print context)
- Mermaid, Vega, and Graphviz diagrams (captured as vector SVG)
- KaTeX math expressions
- Local images (embedded as base64 data URIs so the PDF is self-contained)
- A4 pagination using
@media printrules — code blocks and images avoid page-break splits where possible
The font-size slider default reflects your current zoom level. If you zoomed in with
Cmd++ before exporting, the slider will show that zoomed size. Reset zoom with Cmd+0 before exporting if you want the base font size.HTML export
What the HTML file includes
The exported HTML is a single, fully self-contained file — no external dependencies required:Inlined CSS
Inlined CSS
All stylesheets (GitHub Markdown CSS, KaTeX fonts, code highlight theme, callout styles) are collected from the live document and written into a single
<style> block in the <head>. The file renders identically in any browser, offline.Base64 images
Base64 images
Local images referenced in the Markdown (PNG, JPG, GIF, SVG, WebP) are read from disk and converted to
data: URIs. The exported HTML file contains every image inline — you can share it with someone who does not have the original assets.Rendered diagrams
Rendered diagrams
Mermaid, Vega, and Graphviz diagrams are exported as their final SVG output, not as source code. The recipient does not need any diagram library installed.
Theme-aware styles
Theme-aware styles
The export captures whichever theme was active at export time (light or dark). It also includes
@media (prefers-color-scheme: dark) rules so browsers that support system-level dark mode will honour the user’s OS preference.Limitations
| Capability | QuickLook panel | Standalone app |
|---|---|---|
| Render preview | ✅ | ✅ |
| PDF export | — | ✅ |
| HTML export | — | ✅ |
| Font size slider in PDF save panel | — | ✅ |
Zoom and navigation
Adjust zoom before exporting to control the visual font size
Themes and appearance
Switch theme before exporting to choose light or dark output