shiki
syntect_test
Our great sponsors
shiki | syntect_test | |
---|---|---|
26 | 2 | |
8,470 | 0 | |
14.7% | - | |
9.8 | 0.0 | |
6 days ago | about 2 years ago | |
TypeScript | Rust | |
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.
shiki
- 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!
syntect_test
-
Is calling a Rust function from NodeJS via WASM like really slow?
You should check out my example I posted above, here https://github.com/etrombly/syntect_test . I think I'm getting pretty good performance from it.
What are some alternatives?
PrismJS - Lightweight, robust, elegant syntax highlighting.
Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.
dev - Development repository for the CodeMirror editor project
next-mdx-remote - Load mdx content from anywhere through getStaticProps in next.js
syntect - Rust library for syntax highlighting using Sublime Text syntax definitions.
codehike - Marvellous code walkthroughs
mdx - Markdown for the component era
remark - markdown processor powered by plugins part of the @unifiedjs collective
mdx-bundler - 🦤 Give me MDX/TSX strings and I'll give you back a component you can render. Supports imports!
sveltekit-shiki-code-highlighting - SvelteKit Shiki syntax highlighting: use any VSCode colour theme to accessibly syntax highlight code on your SvelteKit app with line numbers.