Skip to content

xuho/code2image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code2Image - Transform code snippet to image

With Code2Image, you can easily

  • Change the theme - Pick from various color schemes and backgrounds to showcase your code best. Dark and light modes are available.
  • Switch programming languages - Support for all major languages including Python, JavaScript, C++, and more. The syntax highlighting auto-detects the language.
  • Customize fonts - Choose the font family, size, and padding to optimize readability.
  • Export as PNGs or SVGs - Download your code images or save them to the clipboard for easy sharing.
  • Whether you're writing a tutorial, sharing code samples on social media, or creating documentation, Code2Image streamlines the process of formatting and distributing code snippets. No more manually converting code to images!

Tech stack

  • ReactJS
  • NextUI
  • TailwindCSS
  • Zustand for simple state management

Some images

image

image

image

Releases

No releases published

Packages

No packages published