Have Claude, Cursor or GitHub Copilot write Markdown, then convert it to PDF and DOCX locally with an MCP server. No headless browser, no LaTeX.... Table of Contents Why does AI-written...convert with format set Lays out tables, lists and code blocks Result...