Transform your code into beautiful images with syntax highlighting.
- 🎨 Multiple syntax highlighting themes
- 🔤 Multiple font options
- 📝 Support for various programming languages
- 📏 Customizable font size and padding
- 🔢 Optional line numbers
- 💾 Export as PNG or PDF
- 📱 Mobile responsive
- 🔍 Full preview modal
- 🎯 No text wrapping in code editor
- Clone the repository:
git clone https://github.com/dreeyanzz/CodeExport.git
cd CodeExport- Install dependencies:
npm installStart the development server with live reload:
npm startOr:
npm run devThis will open the app at http://localhost:3000
Simply open index.html in your browser - no build process required!
- Paste your code into the editor
- Customize the appearance:
- Choose a theme
- Select a font
- Pick the language for syntax highlighting
- Adjust font size and padding
- Toggle line numbers
- Set a filename
- Click "Generate Preview" to see the result
- Click the preview image to view it in full screen
- Download as PNG or PDF
- Vanilla JavaScript
- HTML5 Canvas
- JetBrains Mono Font
- jsPDF for PDF generation
- Live Server for development
ISC