Commit graph

2 commits

Author SHA1 Message Date
jedarden
2af3b0aeea fix(pdftract-3954u): make map_error_to_exit_code public in hash module
- Made map_error_to_exit_code() function public in hash.rs so it can be
  called from main.rs
- Added test file test_hash_exit_codes.rs to verify exit code behavior
- Updated verification note with current implementation status

The hash subcommand was already implemented but map_error_to_exit_code
was private, causing a compilation error. This fix resolves the issue.

Related: pdftract-3954u
2026-05-28 04:44:45 -04:00
jedarden
851439c6b1 docs(pdftract-4cpo8): add verification note for block-kind markdown dispatch
The block-kind to Markdown emission dispatch is already fully implemented
in crates/pdftract-core/src/markdown.rs. All acceptance criteria are met:
- Heading H1: "# Title\n\n"
- Paragraph soft breaks: "  \n" markers
- Nested lists: 2-space indentation
- Numbered lists: preserves source numbering
- Code fences: language detection
- Inline/display formulas: $/915571 delimiters
- Table: GFM pipe tables with HTML fallback
- Include/exclude: header/footer/watermark filtering

100+ test cases cover all block kinds and edge cases.
2026-05-28 03:22:36 -04:00