# markdown-it-shikix

> markdown-it integration for shikix

Latest version **0.0.3** (published 2023-11-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install markdown-it-shikix
pnpm add markdown-it-shikix
yarn add markdown-it-shikix
bun add markdown-it-shikix
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2023-11-29 |
| First published | 2023-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Dennis Ollhoff |
| Maintainers | dennisollhoff |
| Keywords | shiki, markdown-it |

## Links

- npm: https://www.npmjs.com/package/markdown-it-shikix
- Repository: https://github.com/nyxb/shikix
- Homepage: https://github.com/nyxb/shikix#readme
- Issues: https://github.com/nyxb/shikix/issues
- npm.io page: https://npm.io/package/markdown-it-shikix

## Dependencies (2)

- [shikix](https://npm.io/package/shikix.md) 0.0.3
- [markdown-it](https://npm.io/package/markdown-it.md) ^13.0.2

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2023-11-29
- 0.0.2 — 2023-11-29

## README

# markdown-it-shikix

[Markdown It](https://markdown-it.github.io/) plugin for [shikix](https://github.com/nyxb/shikix)

## Install

```bash
npm i -D markdown-it-shikix
```

## Usage

```ts
import MarkdownIt from 'markdown-it'
import Shikix from 'markdown-it-shikix'

const md = MarkdownIt()

md.use(await Shikix({
   themes: {
      light: 'lumos-light',
      dark: 'lumos-dark',
   }
}))
```

## Features

### Line Highlight

In addition to the features of `shikix`, this plugin also supports line highlighting. You can add `{1,3-4}` after the language name to highlight the specified lines. For example:

~~~md
# Hello World

```js {1,3-4}
console.log('line1') // highlighted
console.log('line2')
console.log('line3') // highlighted
console.log('line4') // highlighted
```
~~~

## License

MIT

---
_Source: https://npm.io/package/markdown-it-shikix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
