zut.build.transpile_markdown

zut.build.transpile_markdown(input: str | PathLike, output: str | PathLike, *, links: dict[str, str] | None = None)

Transpile a Markdown file (typically for distribution on a web Git forge).

Params links:

A dictionary of prefix -> target to rewrite links. For example, if links is {“docs/”: “https://example.com/docs/”}, then a link [Guide](docs/guide.md) will be rewritten to [Guide](https://example.com/docs/guide.md).