Skip to content

pragmaticdev85/code2image

This branch is up to date with xuho/code2image:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

fdd1033 · Jun 28, 2024

History

12 Commits
Dec 11, 2023
Dec 10, 2023
Oct 29, 2023
Oct 29, 2023
Jun 28, 2024
Nov 5, 2023
Nov 5, 2023
Nov 5, 2023

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

About

Transform code snippet to image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.3%
  • CSS 5.1%
  • HTML 4.6%