vscode-oniguruma
Oniguruma Bindings for VS Code (by microsoft)
shiki
A beautiful yet powerful syntax highlighter (by shikijs)
Our great sponsors
vscode-oniguruma | shiki | |
---|---|---|
3 | 26 | |
105 | 8,552 | |
5.7% | 15.6% | |
4.1 | 9.8 | |
26 days ago | 8 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-oniguruma
Posts with mentions or reviews of vscode-oniguruma.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-01.
-
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.
-
Developer Diaries: How We Built a Better Browser-Based IDE with Monaco
More specifically, we’re using [vscode-oniguruma](https://github.com/microsoft/vscode-oniguruma), which is made by Microsoft. But this introduced yet another problem: Integrating TextMate into Monaco typically requires hacks of some kind, and introduces some flaws into the experience.
shiki
Posts with mentions or reviews of shiki.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-04.
- Shiki: A beautiful yet powerful syntax highlighter
-
VueJS turns 10 years old
Shiki (https://shiki.style) might be good enough for your usecase, use the latest beta versions as it's the new fresh esm rewrite.
-
GIGO and VS-code: the Battle With Microsoft
Finally the vanguard had arrived. A markdown renderer named Shiki.
-
Scraping Google Maps
Can I introduce you to our lord and savior Shiki? https://github.com/shikijs/shiki
-
Shiki Syntax Highlighter
Coincidentally, I recently looked into the slow startup time for shiki and it was mostly from parsing JSONC, not WASM: https://github.com/shikijs/shiki/issues/439.
-
Dark mode with Shiki and Code Hike
Warning: This article refers to versions of Code Hike before 0.8.0. Since version 0.8.0, Code Hike uses lighter instead of Shiki. The approach presented in this article uses shiki's color replacement method, which no longer works with lighter.
- What do you use to display code example on your personal blog, or in an article?
-
Nextra 2 – Next.js Static Site Generator
Prismjs was replaced by Shiki and rehype-pretty-code.
-
Want to create attractive, interactive docs? Use these amazing documentation tools and examples
The outcome I was (mostly) hoping for has been done by Shiki library! I take no credit for the idea btw, I am just glad that someone else (Pine) took it on!
What are some alternatives?
When comparing vscode-oniguruma and shiki you can also consider the following projects:
vscode-textmate - A library that helps tokenize text using Text Mate grammars.
PrismJS - Lightweight, robust, elegant syntax highlighting.
lighter - The syntax highlighter used by Code Hike.
Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.
oniguruma - regular expression library
next-mdx-remote - Load mdx content from anywhere through getStaticProps in next.js
codehike - Marvellous code walkthroughs
convert-sh-theme
mdx - Markdown for the component era
remark - markdown processor powered by plugins part of the @unifiedjs collective
dev - Development repository for the CodeMirror editor project