JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 137370
  • Score
    100M100P100Q172234F
  • License MIT

Rehype plugin for Expressive Code, a modular syntax highlighting & annotation engine for presenting source code on the web. Offers full VS Code theme support, editor & terminal frames, copy to clipboard, text markers, collapsible sections, and more.

Package Exports

  • rehype-expressive-code
  • rehype-expressive-code/hast

Readme

rehype-expressive-code NPM version NPM downloads

This package is a unified (rehype) plugin to automatically render code blocks in your markdown / MDX documents using Expressive Code.

Documentation

Read the Expressive Code docs to learn more about the features provided by Expressive Code and this integration.

When should I use this?

When you're using markdown / MDX and want to improve the design and functionality of all contained code blocks using Expressive Code.

Installation

Read the installation instructions to learn how to install Expressive Code.