Skip to main content

Module cli

Module cli 

Source
Expand description

Subprocess pandoc backend (pandoc -t json).

Still uses super::ast::regions_from_pandoc_json for classification so structure truth is the AST, not a second heuristic pass. Failures are explicit errors (no silent all-prose fallback).

Enums§

CliError

Functions§

pandoc_cli_available
Check if a pandoc executable is on PATH.
parse_via_cli
Run pandoc -f <format> -t json and classify the AST into regions.
parse_via_cli_with_json
Like parse_via_cli, also returns JSON for the content-addressed cache.