This project is a code snippet image generator built with SvelteKit and TreeSitter. It allows users to create beautiful images of their code snippets, which can be easily shared on social media or included in documentation.
To use Silicon, simply visit the demo page and enter your code snippet. You can customize the appearance using the available themes and settings. Once you're satisfied with the preview, you can download the image or share it directly on social media.
code: The code snippet to be rendered as an image. This can be passed as a query parameter in the URL for pre-filling the input field.language: The programming language of the code snippet. This can also be passed as a query parameter to enable syntax highlighting for the specified language.This project is licensed under the MIT License. See the LICENSE file for more