https://github.com/mokkapps/honkit-plugin-shiki
Honkit plugin for Shiki code highlighting
https://github.com/mokkapps/honkit-plugin-shiki
Last synced: 9 months ago
JSON representation
Honkit plugin for Shiki code highlighting
- Host: GitHub
- URL: https://github.com/mokkapps/honkit-plugin-shiki
- Owner: Mokkapps
- License: mit
- Created: 2023-07-27T15:22:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-27T15:33:27.000Z (almost 3 years ago)
- Last Synced: 2025-01-28T11:09:17.708Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# honkit-plugin-shiki
[Honkit](https://github.com/honkit/honkit) plugin for [Shiki](https://github.com/shikijs/shiki) code highlighting
## Install
```bash
npm add -D honkit-plugin-shiki
```
## Configuration
Select your Shiki theme inside `book.json`:
```json
{
"title": "My Book",
"description": "Best book ever",
"author": "Michael Hoffmann",
"plugins": ["honkit-plugin-shiki"],
"pluginsConfig": {
"shiki": {
"theme": "nord"
}
}
}
```