satori-syntax-highlighter
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v5View latest version
A syntax highlighter that generates images from code snippets. This is a port of the Satori Syntax Highlighter project to Val Town.
- Generate syntax-highlighted images from code snippets
- Customize background color, language, and font size
- Supports JavaScript, TypeScript, CSS, and HTML
highlighter.ts- HTTP endpoint that generates SVG images from codeindex.ts- Frontend UI for customizing and viewing the generated images
Visit the frontend page to customize and generate syntax-highlighted images.
The MIT License (MIT).
