A modern, browser-based Markdown to PDF converter with live preview. Write your Markdown content and instantly see how it will look when printed or converted to PDF.
cd apps/cc-md-to-pdf
bun install
Run the development server:
bun dev
The app will be available at http://localhost:5173 (or another port if 5173 is in use).
Build the application for production:
bun build
Preview the production build:
bun preview
Run the test suite:
bun test
This project uses Vitestโ for testing.
cc-md-to-pdf/
โโโ src/
โ โโโ routes/ # TanStack Router file-based routes
โ โ โโโ __root.tsx # Root layout
โ โ โโโ index.tsx # Main app component
โ โโโ utils/ # Utility functions
โ โโโ main.tsx # Application entry point
โ โโโ styles.css # Global styles
โโโ public/ # Static assets
โโโ index.html # HTML template
A Dockerfile is included for containerized deployment. Build and run with (run from the monorepo root directory):
docker build -t cc-photo-tools -f apps/cc-photo-tools/Dockerfile .
docker run -p 8080:80 cc-md-to-pdf
This is part of the cc-web-tools monorepo. See the main repository for contribution guidelines.
Part of the cc-web-tools project.
Content type
Image
Digest
sha256:b19e96981โฆ
Size
25.2 MB
Last updated
8 months ago
docker pull c2stack/cc-md-to-pdf