legal-markdown-js
Version:
Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version
34 lines • 1.06 kB
JavaScript
/**
* Type Definitions for Legal Markdown Processing
*
* This module contains TypeScript interface definitions and type declarations
* for the Legal Markdown processing system. It defines the structure for
* configuration options, processing results, and internal data structures.
*
* Features:
* - Processing configuration interfaces
* - YAML front matter parsing result types
* - Header processing option structures
* - Import and export result definitions
* - Metadata handling type definitions
*
* @example
* ```typescript
* import { LegalMarkdownOptions, YamlParsingResult } from './types/index.js';
*
* const options: LegalMarkdownOptions = {
* basePath: './documents',
* enableFieldTracking: true,
* exportFormat: 'yaml'
* };
*
* const result: YamlParsingResult = {
* content: 'processed content',
* metadata: { title: 'Document Title' }
* };
* ```
*
* @module
*/
export { isHtml, isMarkdown, asMarkdown, asHtml, asPlainText, toMarkdown, toHtml, } from './types/content-formats.js';
//# sourceMappingURL=types.js.map