A Next.js application to create beautiful code screenshots.
Try the live version here:
https://prettycodescreenshots.vercel.app/
- Syntax highlighting with support for numerous programming languages
- Multiple themes to customize the appearance of your code
- Configurable options:
- Show/hide line numbers
- Adjust padding
- Set border radius
- macOS-style window bar
- Custom file name
- Light/dark theme for the interface
- Simple export as PNG image with custom file naming
- Clone the repository
- Install dependencies with
npm install - Start the application in development mode with
npm run dev - Open http://localhost:3000 in your browser
- Paste your code in the text box
- Select the appropriate language
- Choose a syntax theme
- Configure the options (line numbers, padding, border radius, macOS bar, file name)
- Click "Download Screenshot" to save the image
MIT