Sign inSign up

jparkerweb/print-mark

By jparkerweb

•Updated 9 months ago

Markdown to PDF converter with print-optimized themes, syntax highlighting, and live preview

Image
0

1.3K

jparkerweb/print-mark repository overview

⁠print-mark

Convert Markdown to clean, printable HTML with PDF export.

⁠Features

  • Live Preview - See formatted output as you type with real-time rendering
  • Multiple Themes - Choose from 4 print-optimized themes (Clean, Academic, Modern, Compact)
  • PDF Export - Generate professional PDFs with customizable page sizes, margins, and page numbers
  • Syntax Highlighting - Beautiful code highlighting powered by Shiki
  • File Upload - Drag and drop or upload .md, .markdown, or .txt files
  • No Account Required - Stateless, privacy-focused design

⁠Quick Start

docker run -p 3000:3000 ghcr.io/jparkerweb/print-mark:latest

Then open http://localhost:3000⁠ in your browser.

Docker Compose

services:
  print-mark:
    image: ghcr.io/jparkerweb/print-mark:latest
    ports:
      - "3000:3000"
    environment:
      - PDF_TIMEOUT=30000
      - PDF_CONCURRENT_LIMIT=3
    restart: unless-stopped

Environment Variables

VariableDefaultDescription
PORT3000HTTP server port
HOST0.0.0.0Server bind address
MAX_FILE_SIZE26214400Maximum upload size in bytes (25MB)
PDF_TIMEOUT30000PDF generation timeout in milliseconds
PDF_CONCURRENT_LIMIT3Maximum concurrent PDF generations

Themes

ThemeDescription
CleanMinimal, professional styling with excellent readability
AcademicScholarly formatting with serif fonts, ideal for papers
ModernContemporary sans-serif design with subtle accents
CompactSpace-efficient layout for dense technical content

Links

Tag summary

Content type

Image

Digest

sha256:070470b7a…

Size

383.6 MB

Last updated

9 months ago

docker pull jparkerweb/print-mark