Shiki's Avatar

Shiki

@shiki.style

Shiki - the beautiful syntax highlighter powered by TextMate grammars https://shiki.style/

622
Followers
3
Following
4
Posts
15.11.2024
Joined
Posts Following

Latest posts by Shiki @shiki.style

Preview
GitHub - antfu/shiki-stream: Streaming highlighting with Shiki. Useful for highlighting text streams like LLM outputs. Streaming highlighting with Shiki. Useful for highlighting text streams like LLM outputs. - antfu/shiki-stream

Made a stream integration for @shiki.style, hope it can help you to build LLM apps with high-quality highlighting!

17.02.2025 11:54 ๐Ÿ‘ 92 ๐Ÿ” 10 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

`react-native-shiki-engine` v1.0.0 preview:

What started as a regex engine is now a complete native pipeline: Text โ†’ C++ parsing โ†’ native tokenization โ†’ Fabric rendering, never touching JS. Load @shiki.style .mjs themes/grammars once, then pure native highlighting. iOS ready, Android Fabric coming.

05.02.2025 15:43 ๐Ÿ‘ 7 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Shiki A beautiful yet powerful syntax highlighter

Shiki v2.0.0 is here, and it's boring!

v2 has no hard breaking-changes but will emit deprecation warnings by default. Upgrade and migrate following the warnings; v3 is coming soon!

shiki.style/blog/v2

20.01.2025 08:38 ๐Ÿ‘ 93 ๐Ÿ” 12 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0
Preview
Shiki A beautiful yet powerful syntax highlighter

Just write a barebones guide for Performance tips with @shiki.style. If you use Shiki in your project, check it out and help us improve the guide! ๐Ÿ™Œ

shiki.style/guide/best-p...

18.01.2025 08:31 ๐Ÿ‘ 113 ๐Ÿ” 13 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Path to supporting 100% of grammars in the JS engine ยท Issue #876 ยท shikijs/shiki Shiki's JS engine uses Oniguruma-To-ES under the hood to emulate Oniguruma regexes. As of the latest version, the vast majority of grammars (which contain dozens to thousands of regexes each) are s...

The path to supporting 100% of TextMate grammars in @shiki.style's JS engine: github.com/shikijs/shik...

27.12.2024 20:11 ๐Ÿ‘ 5 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Discord uses React Native? Would love to connect with their mobile team about integrating `react-native-shiki-engine` to bring native @shiki.style syntax highlighting to their cross-platform apps.

30.11.2024 17:20 ๐Ÿ‘ 14 ๐Ÿ” 2 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 0
Video thumbnail

having way too much fun with @shiki.style and React Native Turbo Modules

25.11.2024 21:03 ๐Ÿ‘ 13 ๐Ÿ” 3 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1

This is super cool, thanks for awesome work @ryanskinner.com!

Looking forward to seeing Shiki on Bluesky! ๐ŸŒˆ

29.11.2024 04:41 ๐Ÿ‘ 32 ๐Ÿ” 4 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Just released Oniguruma-To-ES v0.4.0! github.com/slevithan/on... It includes a breakthrough that will increase @shiki.style's grammar support for its JS engine from 85% of grammars to 92%. This is after v0.1.2 of my lib bumped Shiki's coverage to 85% 2 days ago ๐Ÿ˜‚

16.11.2024 21:02 ๐Ÿ‘ 4 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
Release v1.23.0 ยท shikijs/shiki ๐Ÿš€ Features Port @michael-makes/shiki-colorized-brackets JSR package ย -ย  by @MichaelMakesGames in #831 (94cc6) Use Oniguruma-To-ES in the JS engine ย -ย  by @slevithan and @antfu in #828 and #832 ...

๐ŸŒˆ Shiki v1.23 just dropped with massive updates:

- New JavaScript engine by @slev.life that supports more languages
- New Colorized Brackets package by michaelmakes.games
- FS-based Twoslash cache by @nakasyou.bsky.social
- New Style-to-Class transformer

๐Ÿ‘‡
github.com/shikijs/shik...

15.11.2024 06:36 ๐Ÿ‘ 81 ๐Ÿ” 12 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 3

๐ŸŒˆ ๐Ÿ‘‹

15.11.2024 05:54 ๐Ÿ‘ 39 ๐Ÿ” 4 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 1