UNPKG

legal-markdown-js

Version:

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

38 lines 1.07 kB
#!/usr/bin/env node /** * Command Line Interface for Legal Markdown Processing * * This module provides a comprehensive CLI tool for processing Legal Markdown * documents with support for various output formats, processing options, and * input/output methods (files, stdin/stdout). * * Features: * - File and stdin input processing * - Multiple output formats (Markdown, HTML, PDF) * - Comprehensive processing options and flags * - Field highlighting and styling options * - Metadata export capabilities * - Frontmatter merging from imported files * - Import tracing and debugging options * - Error handling and user feedback * - Debug mode support * * @example * ```bash * # Process a file * legal-md input.md output.md * * # Generate PDF with highlighting * legal-md input.md --pdf --highlight --title "Contract" * * # Process from stdin * cat input.md | legal-md --stdin --stdout * * # Export metadata * legal-md input.md --export-yaml --output-path metadata.yaml * ``` * * @module */ export {}; //# sourceMappingURL=index.d.ts.map