UNPKG

astro-expressive-code

Version:

Astro integration 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) 995 B
# astro-expressive-code [![NPM version](https://img.shields.io/npm/v/astro-expressive-code.svg)](https://www.npmjs.com/package/astro-expressive-code) [![NPM downloads](https://img.shields.io/npm/dm/astro-expressive-code.svg)](https://npmjs.org/package/astro-expressive-code) This package is an [Astro](https://astro.build/) integration to automatically render code blocks in any markdown / MDX content on your Astro site 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 writing content for your Astro site in 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 on your Astro site.