Skip to content

Commit

Permalink
chore: update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Mar 6, 2024
1 parent 7fed42f commit 7f17710
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Features:
- [x] [Default color theme](#default-color)
- [x] [Decorations](#decorations)
- [x] [Transformers](#transformers)
- [x] Custom themes
- [x] [Custom themes](#custom-themes)
- [ ] Custom languages

Input:
Expand Down Expand Up @@ -232,7 +232,7 @@ See the list of [supported languages](https://shiki.style/languages) in Shiki.

### `themes`

Type: `string[]`\
Type: `Array<string> | Array<object>`\
Default: `['nord']`

Use the `themes` option to specify the themes for Shiki to load.
Expand Down Expand Up @@ -260,7 +260,9 @@ See the list of [available themes](https://shiki.style/themes) in Shiki.
> [!NOTE]
> If you don't specify a `theme=""` attribute, the first theme in the `themes` option will be used.
You may also load [custom themes](https://shiki.style/guide/load-theme):
#### Custom Themes

You may also load [custom themes](https://shiki.style/guide/load-theme) by passing a TextMate theme object to the `themes` option:

```js
// Define textmate theme
Expand Down

0 comments on commit 7f17710

Please sign in to comment.