Skip to content

Commit

Permalink
Add note about Shiki version
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVanderbist authored Apr 11, 2024
1 parent d7ebb03 commit ded5696
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ You can install the package via composer:
composer require spatie/commonmark-shiki-highlighter
```

In your project, you must have the JavaScript package [`shiki`](https://github.com/shikijs/shiki) installed, otherwise the `<pre>` element will not be present in the output.
In your project, you must have v1 of the JavaScript package [`shiki`](https://github.com/shikijs/shiki) installed, otherwise the `<pre>` element will not be present in the output.

You can install it via npm

```bash
npm install shiki
npm install shiki@^1.3.0
```

or Yarn

```bash
yarn add shiki
yarn add shiki@^1.3.0
```

## Usage
Expand Down

0 comments on commit ded5696

Please sign in to comment.