Programming

Shiki – powerful syntax highlighter

Shiki is a powerful syntax highlighter that uses TextMate grammars and themes—the same technology used by Visual Studio Code—to produce accurate highlighting for a wide range of programming languages.

This is free and open source software.

Key Features

  • Provides accurate syntax highlighting using TextMate grammars and themes.
  • Supports a broad range of programming languages and Visual Studio Code themes.
  • Lazy-loads languages, themes and WebAssembly components on demand.
  • Runs in modern JavaScript environments without relying on Node.js or filesystem APIs.
  • Offers fine-grained bundles for including only the required languages and themes.
  • Supports separate light and dark themes.
  • Provides APIs for transformers, decorations and HAST output.
  • Integrates with TypeScript Twoslash, Markdown-it, Rehype and Monaco Editor.
  • Offers both JavaScript and Oniguruma-based regular-expression engines.

Website: github.com/shikijs/shiki
Support:
Developer: Pine Wu and Anthony Fu
License: MIT License

Shiki is written in TypeScript. Learn TypeScript with our recommended free books and free tutorials.


Related Software

Syntax Highlighters
PrismLightweight, extensible syntax highlighter, with modern web standards in mind
Re-HighlightPowerful syntax highlighter
ChromaGeneral purpose syntax highlighter
PygmentsGeneric syntax highlighter
RougePure Ruby syntax highlighter
Highlight.jsJavaScript syntax highlighter with language auto-detection

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted