UNPKG

legal-markdown-js

Version:

Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version

27 lines 575 B
/** * Common interface for pandoc parsers */ export interface PandocParser { /** * Convert content from one format to another */ convert(content: string, from: 'rst' | 'latex', to: 'markdown'): Promise<string>; } /** * Parser configuration options */ export interface PandocOptions { /** * Additional pandoc arguments */ args?: string[]; /** * Timeout for conversion in milliseconds */ timeout?: number; /** * Enable verbose output */ verbose?: boolean; } //# sourceMappingURL=pandoc-parser.d.ts.map