UNPKG

remark-docx

Version:

remark plugin to compile markdown to docx (Microsoft Word, Office Open XML).

13 lines (12 loc) 376 B
import { RemarkDocxPlugin } from '../../types'; import { BundledTheme } from 'shiki'; export interface ShikiPluginOptions { /** * https://shiki.style/themes */ theme: BundledTheme; } /** * A plugin to render "code" nodes, with syntax highlighting powered by shiki. */ export declare const shikiPlugin: ({ theme, }: ShikiPluginOptions) => RemarkDocxPlugin;