{"repo":"ABClize/mdtopdf","free":true,"listed":false,"github":"https://github.com/ABClize/mdtopdf","clone":"git clone https://github.com/ABClize/mdtopdf.git","description":"Agent-friendly Markdown-to-PDF CLI with local PDF rendering and JSON diagnostics.","language":"Python","stars":13,"topics":["agent","automation","cli","katex","markdown","markdown-to-pdf","mermaid","obsidian","pdf","weasyprint"],"license":"MIT","category":"cli-tools","readme_excerpt":"mdtopdf: Agent-friendly Markdown-to-PDF CLI 中文文档 One command gives agents a controlled Markdown-to-PDF path. --- Why it works for agents Agents are good at writing Markdown. The problem is the handoff: PDFs exported through ad hoc paths rarely share the same style. mdtopdf gives the user a command-line interface where the style can be defined up front. - Agent-friendly - mdtopdf --help is an interface description an agent can read. - JSON when it matters - conversion, HTML preview, environment checks, and theme listing can return machine-readable output. - Local files in, local files out - no browser dependency, no upload step, no remote rendering service. - More than plain Markdown - Obsidian links, highlights, frontmatter, comments, and callouts are rendered. Quick start Install from PyPI: The PyPI distribution is agent-markdown-pdf ; it installs the mdtopdf command. Do not use mdtopdf as the PyPI package name; the distribution name is intentionally different from the command name. Use case Name --- --- Install from PyPI agent-markdown-pdf Run the CLI mdtopdf Import in Python mdtopdf Check the machine: Convert a file: Try the bundled visual test document: The same visual test is also available in Chinese at examples/visual-test-cn.md . Agent workflow The bundled agent skill lives at mdtopdf/skills/SKILL.md . Use that file when another agent needs a compact runtime guide for mdtopdf . Use HTML preview when layout needs a quick look: convert --json returns the input path, out","default_branch":null,"files":null,"tree":[],"storefront":"/r/ABClize","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ABClize/mdtopdf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}