UNPKG

rehype-expressive-code

Version:

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.

16 lines (8 loc) 991 B
# rehype-expressive-code [![NPM version](https://img.shields.io/npm/v/rehype-expressive-code.svg)](https://www.npmjs.com/package/rehype-expressive-code) [![NPM downloads](https://img.shields.io/npm/dm/rehype-expressive-code.svg)](https://npmjs.org/package/rehype-expressive-code) This package is a [unified](https://github.com/unifiedjs/unified) ([rehype](https://github.com/rehypejs/rehype)) plugin to automatically render code blocks in your markdown / MDX documents using [Expressive Code](https://expressive-code.com/). ## Documentation [Read the Expressive Code docs](https://expressive-code.com/) 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](https://expressive-code.com/installation/) to learn how to install Expressive Code.