UNPKG

marked-code-jsx-renderer

Version:

A marked extension to render JSX code blocks using a custom renderer and components

10 lines (9 loc) 368 B
import type { Tokens } from 'marked'; import type { TransformOptions } from './types.js'; /** * Transform markdown code blocks using jsx renderer. * * @param token - The Markdown code token to transform. * @param options - Configuration options for the transformation. */ export declare function transform(token: Tokens.Generic, options: TransformOptions): void;