Synax highlight component for Ink
npm install ink-syntax-highlight> Synax highlight component for Ink.
```
$ npm install ink-syntax-highlight
`jsx
import React from 'react';
import {render, Text} from 'ink';
import SyntaxHighlight from 'ink-syntax-highlight';
render(
`
Type: string
Source code to highlight.
Type: string`
Language of the source code. If you don't set it yourself, this component will try to auto-detect it. All languages of highlight.js are supported.
Type: Theme
You can write your own theme and pass it as prop. More info regarding custom theme.