vscode-textmate
carbon
Our great sponsors
vscode-textmate | carbon | |
---|---|---|
5 | 372 | |
540 | 33,997 | |
2.8% | 0.9% | |
5.5 | 6.8 | |
4 months ago | 6 days ago | |
TypeScript | JavaScript | |
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.
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.
carbon
-
Recommend 12 free productivity tools! Make your work more effective with less effort!
Carbon is a free online code screenshot tool that helps users create beautiful code screenshots for use in blogs, social media, or presentations. It provides a simple interface that allows users to enter their own code and choose different themes, fonts, and color schemes. Users can also adjust the code alignment, line numbers, background, shadow, etc. to better control the screenshot effect. Carbon also supports code in multiple languages, such as JavaScript, Python, HTML, CSS, etc., and can automatically highlight code keywords. URL:https://carbon.now.sh/
- Carbon, a great way to create images of your code
-
Must-have for slacking off! 2024 Efficient Dev Tools for Increasing Productivity
Carbon, an online code beautification tool, lets you create visually appealing code screenshots with a simple interface, enhancing code readability.
-
Debounce Solution
Code Snippet Clips: Carbon Learn Next.js 14: Learn Next.js Frontend Masters - Jem Young: Front-end Masters - Jem Young
-
Marcel the Shell
you could try Carbon:
https://carbon.now.sh/
-
10 Lesser-Known Tools and Websites to Spice Up Your Developer Toolbox
Carbon allows you to create stunning and customizable code screenshots with syntax highlighting. Whether you want to share code snippets on social media or enhance your documentation, Carbon is a handy tool to have in your arsenal.
-
Tools I like
carbon.now.sh
-
200 Web-Based, Must-Try Web Design and Development Tools
Code Screenshot Generator
- Why does my solution to "Reorder List" problem causes a cycle in the linked list
-
Top 6 Tools to Create Beautiful Images Of Your Code Snippets
4. Carbon
What are some alternatives?
tree-sitter-vue - Vue grammar for tree-sitter
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
silicon - Create beautiful image of your source code.
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
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
devdocs - API Documentation Browser
usfm-grammar - An elegant USFM parser.
Gogh - Gogh is a collection of color schemes for various terminal emulators, including Gnome Terminal, Pantheon Terminal, Tilix, and XFCE4 Terminal also compatible with iTerm on macOS.
vscode-oniguruma - Oniguruma Bindings for VS Code
carbon-now-sh-API-Wrapper - Asynchronous API Wrapper based on carbonara
shiki - A beautiful yet powerful syntax highlighter
Oculess - Removes account requirements and telemetry from Oculus Quest devices