UNPKG

react-markdown-code-highlighter

Version:

`react-markdown-code-highlighter` is a flexible [React](https://react.dev) component for rendering Markdown with syntax-highlighted code blocks using [highlight.js](https://highlightjs.org/). It is designed for use in chat systems and AI assistants like C

10 lines (9 loc) 331 B
import React from 'react'; import { AnswerType, MarkdownProps, ThemeType } from '../defined.js'; interface MarkdownImplProps extends MarkdownProps { children: string | undefined; answerType: AnswerType; theme: ThemeType; } declare const _default: React.NamedExoticComponent<MarkdownImplProps>; export default _default;