{
  "name": "md-to-html",
  "version": "0.1.1",
  "description": "Turn a Markdown draft into one self-contained, print-friendly HTML file that survives being emailed or attached, with headings that have anchor links, tables, code, quotes, an optional table of contents, local images embedded, brand colours and fonts from a brand.json, Mermaid diagrams kept as text or drawn from a pinned CDN, and raw HTML escaped so nothing in the source runs. Use when the user wants Markdown \"as a web page\", \"as an HTML file I can send\", \"something people can open in a browser and print\", or says \"convert this to HTML\".",
  "entrypoint": "SKILL.md",
  "deps": {
    "npm": [],
    "pip": []
  },
  "env": {
    "required": [],
    "optional": []
  },
  "related": [
    "brand-kit",
    "guide-builder",
    "marketing-flyer",
    "md-to-docx",
    "md-to-xlsx",
    "mermaid-render"
  ],
  "handoff": [
    {
      "to": "mermaid-render",
      "when": "the document has Mermaid diagrams and readers may be offline",
      "purpose": "Render each diagram to SVG so it can be embedded and needs no network.",
      "fallback": "If mermaid-render is absent, keep the diagrams as text (the default) and tell the user they show as source, or use --mermaid cdn and say it needs network."
    }
  ],
  "tags": [
    "html",
    "markdown",
    "convert",
    "print",
    "export",
    "brand"
  ],
  "permissions": {"network": [], "commands": [], "files": "named-paths", "notes": "The script makes no network calls. With --mermaid cdn, the HTML it writes loads Mermaid from cdn.jsdelivr.net when someone opens it."},
  "model": {
    "tier": "light",
    "rationale": "A deterministic stdlib script does the conversion; the model picks options, fixes a few unsupported Markdown constructs and relays the script's warnings. Little judgment."
  }
}
