silicon
vscode-textmate
silicon | vscode-textmate | |
---|---|---|
10 | 5 | |
2,960 | 540 | |
- | 1.7% | |
6.1 | 5.5 | |
3 days ago | 4 months ago | |
Rust | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
silicon
-
I can easily copy codes with syntax highlighting in VScode. Can I do the same with Neovim?
There is silicon.nvim that uses the cli tool silicon to export the code as an image (I think there is also an alternative that uses carbon). There is also vim-copy-as-rtf that works only on OSx and Code2RTF.vim that works only on Windows (there was a fork of vim-copy-as-rtf for Linux, but I can't find it). Finally, there is this discussion about alternatives, being one of them to use pandoc and :TOHtml to export the text as RTF
-
Hey, at least it works...
Use Carbon or if you want a program there is silicon
-
I need some help getting to the colors of Neovim
Have you seen https://github.com/Aloxaf/silicon by the way?
-
Patterns with Rust types
Another one in Rust: https://github.com/Aloxaf/silicon
- Silicon – terminal first carbon alternative implemented in rust
-
Ownership Concept Diagram
You can use https://carbon.now.sh/ for this!Find the CLI here: https://github.com/mixn/carbon-now-cliAlternative: Silicon (Rust): https://github.com/Aloxaf/silicon
-
Create Code screenshots straight from your IDE
You can follow directions here on how to install it on your system.
- A CLI tool for generating image from source code (alternative to Carbon and Silicon)
- Show HN: Ray.so – Create beautiful images of your code
-
Dica rápida: Maneiras de apresentar seu código
Silicon (CLI)
vscode-textmate
-
Building a syntax highlighting extension for VS Code
Luckily, there is a project that has fitted my needs perfectly: vscode-grammar-test. It’s a command line tool that builds on the VS Code regex engine and grammar file parser and allows to run unit tests directly against a given grammar file.
-
Dark mode with Shiki and Code Hike
Shiki does this because the underlying library vscode-textmate or vscode-oniguruma returns black if the value is not a valid color. This explains why Code Hike uses blackish color codes instead of variables. But what if we write a variable directly into the theme instead of the color code.
-
How to get font colors but not syntax highlighting for a file in custom language?
Thank you for the response! I feared that I might have to create a vscode extension for the language. I'm assuming I can use this json file to build textmate grammar for Stks ? Do you suggest any specific resources for learning textmate grammar and regex? I'm especially unfamiliar with regex. Thanks again
-
NEW VSCode extension "Blockman" to highlight nested code blocks
I see now. Thanks for the hint!
-
Show HN: Ray.so – Create beautiful images of your code
There are lots of different approaches you could take. For sourcecodeshots, I run it through VSCode's tokenizer (https://github.com/microsoft/vscode-textmate) and then use node-canvas to generate the image one line at a time.
It's a very imperative process and fairly slow on a cpu, but the nice thing is that I can run the same code in the browser to speed up development. The Rust project, https://github.com/Aloxaf/silicon, mentioned in another part of the comments is probably faster, but I didn't find it when I was searching for a solution.
What are some alternatives?
polacode - 📸 Polaroid for your code
tree-sitter-vue - Vue grammar for tree-sitter
carbon - :black_heart: Create and share beautiful images of your source code
carbonate - Github Action to format fenced code blocks in github issues as images. Originally created as part of DEV Github Actions hackathon: https://dev.to/callmekatootie/jazz-up-the-code-blocks-in-github-issues-52e6
rust-memory-container-cs - Rust Memory Container Cheat-sheet
usfm-grammar - An elegant USFM parser.
Restbed - Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.
vscode-oniguruma - Oniguruma Bindings for VS Code
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
shiki - A beautiful yet powerful syntax highlighter