UNPKG

myst-to-docx

Version:

Export from a MyST Markdown document to Microsoft Word (*.docx)

28 lines 949 B
import { AlignmentType, LevelFormat } from 'docx'; import type { INumbering } from './types.js'; declare const styles: { numbered: { style?: { readonly run?: import("docx").IRunStylePropertiesOptions; readonly paragraph?: import("docx").ILevelParagraphStylePropertiesOptions; }; alignment?: AlignmentType; level: number; format: any; text: string; }[]; bullets: { style?: { readonly run?: import("docx").IRunStylePropertiesOptions; readonly paragraph?: import("docx").ILevelParagraphStylePropertiesOptions; }; alignment?: AlignmentType; level: number; format: LevelFormat; text: any; }[]; }; export type NumberingStyles = keyof typeof styles; export declare function createNumbering(reference: string, style: NumberingStyles): INumbering; export {}; //# sourceMappingURL=numbering.d.ts.map