Markdown to PDF is a browser-based editor for writing markdown, previewing fully paginated pages, and exporting a clean print-ready PDF without leaving the app.
- Live markdown editing with instant preview updates
- LaTeX math rendering for inline and display equations
- Real paged layout rendering powered by Paged.js
- Typography, theme, margin, and page chrome controls
- Print-to-PDF workflow that stays selectable and searchable
- Local styleset export for saving document presets
- React 19
- TypeScript
- Vite
- Tailwind CSS v4
- Paged.js
Install dependencies:
bun installStart the development server:
bun run devOpen the local Vite URL shown in the terminal.
bun run dev
bun run build
bun run test
bun run lint
bun run preview- Write or paste markdown into the editor.
- Add equations with
$...$,$$...$$,\(...\), or\[...\]. - Adjust page size, typography, colors, margins, and running header/footer settings.
- Review the paginated preview.
- Use
Print / Save PDFto export through the browser print dialog.
Brand assets live in public/. The app uses public/logo.png in the header and as the favicon.