{
  "id": "task_libraries:markdown-to-docx/python",
  "path": "/exapedia/python-markdown-to-docx-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python Markdown to DOCX libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python Markdown to DOCX libraries convert Markdown text into Microsoft Word documents. A converter either calls Pandoc, a separate document conversion tool, or writes the Word file through its own document model. These libraries let report generators and AI agents deliver Markdown drafts as Word files."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python Markdown to DOCX libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#pypandoc",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F106"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F107"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F113"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F110"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F108"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pandoc",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F123"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F124"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#aspose-words",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F138"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#spire-doc",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F150"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mdtwodocx-python",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F161"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#markdowntwodocx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#md-to-word-docx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-mdtwodocx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#pypandoc",
          "label": [
            {
              "t": "text",
              "text": "pypandoc"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F107"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Imports tables",
            "Imports images",
            "Configures Word formatting"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#pypandoc",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F106"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F114"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F115"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F116"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pandoc",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F123"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#aspose-words",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F138"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#spire-doc",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F150"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#mdtwodocx-python",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F161"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#markdowntwodocx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#md-to-word-docx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F199"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#python-mdtwodocx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "pypandoc",
          "name": [
            {
              "t": "fact",
              "fact": "F106"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/JessicaTegner/pypandoc"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pypandoc"
            },
            {
              "label": "Docs",
              "href": "https://raw.githubusercontent.com/JessicaTegner/pypandoc/master/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F13"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F107"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F113"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F109"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F108"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/JessicaTegner/pypandoc/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F106"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F21"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F121"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F122"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/MODSetter/SurfSense",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F121"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _pandoc_to_tempfile(output_format: str, extra_args: list[str]) -> bytes:\n            \"\"\"Convert via pandoc to a binary format using a temp file.\"\"\"\n            fd, tmp_path = tempfile.mkstemp(suffix=f\".{output_format}\")\n            os.close(fd)\n            try:\n                pypandoc.convert_text(\n                    markdown_content,\n                    output_format,\n                    format=input_fmt,\n                    extra_args=extra_args,\n                    outputfile=tmp_path,\n                )\n                with open(tmp_path, \"rb\") as f:\n                    return f.read()\n            finally:\n                os.unlink(tmp_path)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/MODSetter/SurfSense/blob/4e9225b1cd31abb7ee902425cc444fef0e4bbb86/surfsense_backend/app/routes/reports_routes.py#L530-L545",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F120"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20pypandoc&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F106"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pypandoc\n\noutput = pypandoc.convert_file('somefile.md', 'docx', outputfile=\"somefile.docx\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://raw.githubusercontent.com/JessicaTegner/pypandoc/master/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F111"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pandoc",
          "name": [
            {
              "t": "fact",
              "fact": "F123"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/boisgera/pandoc"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pandoc"
            },
            {
              "label": "Docs",
              "href": "https://boisgera.github.io/pandoc/api/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F124"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://boisgera.github.io/pandoc/api/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F123"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import pandoc\n\ndoc = pandoc.read(\"Hello world!\")\npandoc.write(doc, file=\"output.docx\", format=\"docx\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://boisgera.github.io/pandoc/api/",
                  "label": [
                    {
                      "t": "text",
                      "text": "api.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pandoc%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F123"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F128"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "aspose-words",
          "name": [
            {
              "t": "fact",
              "fact": "F138"
            }
          ],
          "links": [
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/aspose-words"
            },
            {
              "label": "Docs",
              "href": "https://blog.aspose.com/words/convert-markdown-to-word-in-python/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F39"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://blog.aspose.com/words/convert-markdown-to-word-in-python/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F138"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import aspose.words as aw\n\ndoc = aw.Document(\"Input.md\")\ndoc.save(\"Output.docx\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://products.aspose.com/words/python-net/conversion/markdown-to-word/",
                  "label": [
                    {
                      "t": "text",
                      "text": "markdown-to-word.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20aspose-words&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F138"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F143"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "spire-doc",
          "name": [
            {
              "t": "fact",
              "fact": "F150"
            }
          ],
          "links": [
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/Spire.Doc"
            },
            {
              "label": "Docs",
              "href": "https://www.e-iceblue.com/Knowledgebase/Python/Spire.Doc-for-Python/Program-Guide/Conversion/Python-Convert-Markdown-to-Word-or-Word-to-Markdown.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F56"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.e-iceblue.com/Knowledgebase/Python/Spire.Doc-for-Python/Program-Guide/Conversion/Python-Convert-Markdown-to-Word-or-Word-to-Markdown.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F150"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F57"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F58"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from spire.doc import *\nfrom spire.doc.common import *\n\n# Create an object of the Document class\ndocument = Document()\n# Load a Markdown file\ndocument.LoadFromFile(\"input.md\")\n\n# Save the Markdown file to a Word DOCX file\ndocument.SaveToFile(\"MdToDocx.docx\", FileFormat.Docx)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.e-iceblue.com/Knowledgebase/Python/Spire.Doc-for-Python/Program-Guide/Conversion/Python-Convert-Markdown-to-Word-or-Word-to-Markdown.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "Python-Convert-Markdown-to-Word-or-Word-to-Markdown.html"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20that%20use%20Spire.Doc&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F150"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F155"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "mdtwodocx-python",
          "name": [
            {
              "t": "fact",
              "fact": "F161"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/shloktech/md2docx-python"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/md2docx-python"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/md2docx-python/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F168"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/md2docx-python/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F161"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from md2docx_python.src.md2docx_python import markdown_to_word\nmarkdown_file = \"sample_files/amazon_case_study.md\"\nword_file = \"sample_files/amazon_case_study.docx\"\nmarkdown_to_word(markdown_file, word_file)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/project/md2docx-python/",
                  "label": [
                    {
                      "t": "text",
                      "text": "Readme.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=md2docx-python%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F161"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F166"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "markdowntwodocx",
          "name": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ],
          "links": [
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/Markdown2docx"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/Markdown2docx/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/Markdown2docx/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F174"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from Markdown2docx import Markdown2docx\nproject = Markdown2docx('README')\nproject.eat_soup()\nproject.save()\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/project/Markdown2docx/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Markdown2docx%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F174"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F179"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "md-to-word-docx",
          "name": [
            {
              "t": "fact",
              "fact": "F188"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ls-open/md-to-word"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/md-to-word-docx"
            },
            {
              "label": "Docs",
              "href": "https://github.com/ls-open/md-to-word/blob/main/src/md_to_word/resources/manual_en.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F195"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/ls-open/md-to-word/blob/main/src/md_to_word/resources/manual_en.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F188"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from md_to_word import export\n\nresult = export(\"稿件.md\", \"稿件.docx\", format=\"format.txt\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/md-to-word-docx/3.3.3/json",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=md-to-word-docx%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F188"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F193"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "python-mdtwodocx",
          "name": [
            {
              "t": "fact",
              "fact": "F202"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/suqingdong/md2docx"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/python-md2docx"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/project/python-md2docx/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/project/python-md2docx/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F202"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from md2docx.core import MD2DOCX\nMD2DOCX().convert('tests/demo.md', output_file='tests/demo.docx')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/project/python-md2docx/",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=python-md2docx%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F202"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F207"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python Markdown to DOCX library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#pypandoc",
          "label": [
            {
              "t": "text",
              "text": "pypandoc"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits most conversions and applies styles from a reference document. "
        },
        {
          "t": "link",
          "href": "#aspose-words",
          "label": [
            {
              "t": "text",
              "text": "Aspose.Words"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#spire-doc",
          "label": [
            {
              "t": "text",
              "text": "Spire.Doc"
            }
          ]
        },
        {
          "t": "text",
          "text": " suit teams that want a commercial document API without Pandoc. "
        },
        {
          "t": "link",
          "href": "#md-to-word-docx",
          "label": [
            {
              "t": "text",
              "text": "md-to-word-docx"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits documents with equations, cross-references, and bibliographies."
        }
      ]
    },
    {
      "q": "How do I convert Markdown to Word in Python?",
      "a": [
        {
          "t": "link",
          "href": "#pypandoc",
          "label": [
            {
              "t": "text",
              "text": "pypandoc"
            }
          ]
        },
        {
          "t": "text",
          "text": " passes the Markdown file to Pandoc and writes a DOCX file. A reference document supplies the styles and document properties for the output."
        }
      ]
    },
    {
      "q": "What is pypandoc?",
      "a": [
        {
          "t": "link",
          "href": "#pypandoc",
          "label": [
            {
              "t": "text",
              "text": "pypandoc"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a thin Python wrapper for Pandoc, the document converter. It passes Pandoc options such as a reference document through to the conversion."
        }
      ]
    },
    {
      "q": "Does Pandoc keep math equations when converting Markdown to DOCX?",
      "a": [
        {
          "t": "text",
          "text": "Pandoc writes math from Markdown as native Word equations wherever its Markdown reader supports the math syntax."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, pypandoc",
      "display": "pypandoc",
      "asOf": "2026-11-11"
    },
    "F2": {
      "label": "Monthly downloads, pypandoc",
      "display": "4.1M",
      "asOf": "2026-11-11"
    },
    "F3": {
      "label": "License, pypandoc",
      "display": "MIT",
      "asOf": "2026-11-11"
    },
    "F4": {
      "label": "Package release, pypandoc",
      "display": "1.17, Mar 2026",
      "asOf": "2026-03-14"
    },
    "F5": {
      "label": "Package release date, pypandoc",
      "display": "Mar 2026",
      "asOf": "2026-03-14"
    },
    "F6": {
      "label": "Repository stars, pypandoc",
      "display": "1.2K",
      "asOf": "2026-11-11"
    },
    "F7": {
      "label": "Reads Markdown files, pypandoc",
      "display": "Via plugin",
      "asOf": "2026-11-11"
    },
    "F8": {
      "label": "Imports tables, pypandoc",
      "display": "Via plugin",
      "asOf": "2026-11-11"
    },
    "F9": {
      "label": "Imports images, pypandoc",
      "display": "Via plugin",
      "asOf": "2026-11-11"
    },
    "F10": {
      "label": "Customizes Word styles, pypandoc",
      "display": "Via plugin",
      "asOf": "2026-11-11"
    },
    "F11": {
      "label": "Output formats, pypandoc",
      "display": "DOCX",
      "asOf": "2026-11-11"
    },
    "F12": {
      "label": "Install, pypandoc",
      "display": "pip install pypandoc",
      "asOf": "2026-11-11"
    },
    "F13": {
      "label": "What it does, pypandoc",
      "display": "Converts Markdown files to Word documents through the Pandoc executable.",
      "asOf": "2026-11-11"
    },
    "F14": {
      "label": "strengths lead, pypandoc",
      "display": "Reuses Word document styles",
      "asOf": "2026-11-11"
    },
    "F15": {
      "label": "strengths, pypandoc",
      "display": "A reference DOCX supplies styles, margins, headers, and footers.",
      "asOf": "2026-11-11"
    },
    "F16": {
      "label": "strengths lead, pypandoc",
      "display": "Combines Markdown files",
      "asOf": "2026-11-11"
    },
    "F17": {
      "label": "strengths, pypandoc",
      "display": "Convert chapter files into one Word document using a file pattern.",
      "asOf": "2026-11-11"
    },
    "F18": {
      "label": "limitations lead, pypandoc",
      "display": "Requires Pandoc",
      "asOf": "2026-11-11"
    },
    "F19": {
      "label": "limitations, pypandoc",
      "display": "Install Pandoc separately or use the bundled pypandoc_binary distribution.",
      "asOf": "2026-11-11"
    },
    "F20": {
      "label": "limitations lead, pypandoc",
      "display": "Ignores reference document content",
      "asOf": "2026-11-11"
    },
    "F21": {
      "label": "limitations, pypandoc",
      "display": "Reference DOCX files supply formatting rather than reusable document text.",
      "asOf": "2026-11-11"
    },
    "F22": {
      "label": "Quickstart, pypandoc",
      "display": "import pypandoc\n\noutput = pypandoc.convert_file('somefile.md', 'docx', outputfile=\"somefile.docx\")\nassert output == \"\"\n",
      "asOf": "2026-11-11"
    },
    "F23": {
      "label": "Project function, pypandoc",
      "display": "def _pandoc_to_tempfile(output_format: str, extra_args: list[str]) -> bytes:\n    \"\"\"Convert via pandoc to a binary format using a temp file.\"\"\"\n    fd, tmp_path = tempfile.mkstemp(suffix=f\".{output_format}\")\n    os.close(fd)\n    try:\n        pypandoc.convert_text(\n            markdown_content,\n            output_format,\n            format=input_fmt,\n            extra_args=extra_args,\n            outputfile=tmp_path,\n        )\n        with open(tmp_path, \"rb\") as f:\n            return f.read()\n    finally:\n        os.unlink(tmp_path)\n",
      "asOf": "2026-11-11"
    },
    "F24": {
      "label": "Project function reference, pypandoc",
      "display": "reports_routes.py · _pandoc_to_tempfile()",
      "asOf": "2026-11-11"
    },
    "F25": {
      "label": "Project repository, pypandoc",
      "display": "MODSetter/SurfSense",
      "asOf": "2026-11-11"
    },
    "F26": {
      "label": "Project stars, MODSetter/SurfSense",
      "display": "16.8K",
      "asOf": "2026-11-11"
    },
    "F27": {
      "label": "Project push date, MODSetter/SurfSense",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F28": {
      "label": "Library name, aspose-words",
      "display": "Aspose.Words",
      "asOf": "2026-11-11"
    },
    "F29": {
      "label": "Monthly downloads, aspose-words",
      "display": "348.1K",
      "asOf": "2026-11-11"
    },
    "F30": {
      "label": "License, aspose-words",
      "display": "Proprietary",
      "asOf": "2026-11-11"
    },
    "F31": {
      "label": "Package release, aspose-words",
      "display": "26.10.0, Oct 2026",
      "asOf": "2026-10-13"
    },
    "F32": {
      "label": "Package release date, aspose-words",
      "display": "Oct 2026",
      "asOf": "2026-10-13"
    },
    "F33": {
      "label": "Reads Markdown files, aspose-words",
      "display": "Built-in",
      "asOf": "2026-11-11"
    },
    "F34": {
      "label": "Imports tables, aspose-words",
      "display": "Built-in",
      "asOf": "2026-11-11"
    },
    "F35": {
      "label": "Imports images, aspose-words",
      "display": "Built-in",
      "asOf": "2026-11-11"
    },
    "F36": {
      "label": "Customizes Word styles, aspose-words",
      "display": "Built-in",
      "asOf": "2026-11-11"
    },
    "F37": {
      "label": "Output formats, aspose-words",
      "display": "DOCX",
      "asOf": "2026-11-11"
    },
    "F38": {
      "label": "Install, aspose-words",
      "display": "pip install aspose-words",
      "asOf": "2026-11-11"
    },
    "F39": {
      "label": "What it does, aspose-words",
      "display": "Loads Markdown into editable Word documents and saves DOCX output.",
      "asOf": "2026-11-11"
    },
    "F40": {
      "label": "strengths lead, aspose-words",
      "display": "Converts Markdown directly",
      "asOf": "2026-11-11"
    },
    "F41": {
      "label": "strengths, aspose-words",
      "display": "Load Markdown with Document and save the result as DOCX.",
      "asOf": "2026-11-11"
    },
    "F42": {
      "label": "strengths lead, aspose-words",
      "display": "Copies Word template styles",
      "asOf": "2026-11-11"
    },
    "F43": {
      "label": "strengths, aspose-words",
      "display": "Use copy_styles_from_template to reuse another document's styles.",
      "asOf": "2026-11-11"
    },
    "F44": {
      "label": "limitations lead, aspose-words",
      "display": "Trial adds watermarks",
      "asOf": "2026-11-11"
    },
    "F45": {
      "label": "limitations, aspose-words",
      "display": "Apply a license to remove evaluation marks and trial size limits.",
      "asOf": "2026-11-11"
    },
    "F46": {
      "label": "Quickstart, aspose-words",
      "display": "import aspose.words as aw\n\ndoc = aw.Document(\"Input.md\")\ndoc.save(\"Output.docx\")\n",
      "asOf": "2026-11-11"
    },
    "F47": {
      "label": "Library name, Spire.Doc",
      "display": "Spire.Doc",
      "asOf": "2026-11-11"
    },
    "F48": {
      "label": "Monthly downloads, Spire.Doc",
      "display": "66.5K",
      "asOf": "2026-11-11"
    },
    "F49": {
      "label": "License, Spire.Doc",
      "display": "Proprietary",
      "asOf": "2026-11-11"
    },
    "F50": {
      "label": "Package release, Spire.Doc",
      "display": "14.9.1, Sep 2026",
      "asOf": "2026-09-29"
    },
    "F51": {
      "label": "Package release date, Spire.Doc",
      "display": "Sep 2026",
      "asOf": "2026-09-29"
    },
    "F52": {
      "label": "Reads Markdown files, Spire.Doc",
      "display": "Built-in",
      "asOf": "2026-11-11"
    },
    "F53": {
      "label": "Customizes Word styles, Spire.Doc",
      "display": "Built-in",
      "asOf": "2026-11-11"
    },
    "F54": {
      "label": "Output formats, Spire.Doc",
      "display": "DOCX",
      "asOf": "2026-11-11"
    },
    "F55": {
      "label": "Install, Spire.Doc",
      "display": "pip install Spire.Doc",
      "asOf": "2026-11-11"
    },
    "F56": {
      "label": "What it does, Spire.Doc",
      "display": "Loads Markdown documents and saves them in Word formats.",
      "asOf": "2026-11-11"
    },
    "F57": {
      "label": "strengths lead, Spire.Doc",
      "display": "Converts Markdown directly",
      "asOf": "2026-11-11"
    },
    "F58": {
      "label": "strengths, Spire.Doc",
      "display": "Load Markdown with Document.LoadFromFile and save it as DOCX.",
      "asOf": "2026-11-11"
    },
    "F59": {
      "label": "strengths lead, Spire.Doc",
      "display": "Exports Word back to Markdown",
      "asOf": "2026-11-11"
    },
    "F60": {
      "label": "strengths, Spire.Doc",
      "display": "Convert DOCX and DOC files to Markdown using SaveToFile.",
      "asOf": "2026-11-11"
    },
    "F61": {
      "label": "limitations lead, Spire.Doc",
      "display": "Temporary license removes trial limits",
      "asOf": "2026-11-11"
    },
    "F62": {
      "label": "limitations, Spire.Doc",
      "display": "Request a temporary license for evaluation without watermarks or restrictions.",
      "asOf": "2026-11-11"
    },
    "F63": {
      "label": "Quickstart, Spire.Doc",
      "display": "from spire.doc import *\nfrom spire.doc.common import *\n\n# Create an object of the Document class\ndocument = Document()\n# Load a Markdown file\ndocument.LoadFromFile(\"input.md\")\n\n# Save the Markdown file to a Word DOCX file\ndocument.SaveToFile(\"MdToDocx.docx\", FileFormat.Docx)\n# Save the Markdown file to a Word DOC file\ndocument.SaveToFile(\"MdToDoc.doc\", FileFormat.Doc)\ndocument.Close()\n",
      "asOf": "2026-11-11"
    },
    "F64": {
      "label": "Project function, Spire.Doc",
      "display": "async def convert_md_to_docx(request: Request):\n    logger.info('Received request for /convert')\n    content = await request.body()\n    if not content:\n        logger.error('No content part in the request')\n        return JSONResponse(content={\"error\": \"No content part\"}, status_code=400)\n\n    content = content.decode('utf-8')\n    if content == '':\n        logger.error('No content provided')\n        return JSONResponse(content={\"error\": \"No content provided\"}, status_code=400)\n\n    mdfile_name = str(int(time.time())) + \".md\"\n    md_file_path = os.path.join(temp_dir, mdfile_name)\n    with open(md_file_path, 'w', encoding='utf-8') as f:\n        f.write(content)\n\n    doc = Document()\n\n    doc.LoadFromFile(md_file_path, FileFormat.Markdown)\n\n    file_name = str(int(time.time())) + \".docx\"\n    output_path = os.path.join(output_dir, file_name)\n    doc.SaveToFile(output_path, FileFormat.Docx)\n\n    doc.Dispose()\n\n    if os.path.exists(md_file_path):\n        os.remove(md_file_path)\n\n    base_url = str(request.base_url)\n    download_url = base_url + 'office/word/download/' + os.path.basename(output_path)\n    print(download_url)\n    return {\"download_url\": download_url}\n",
      "asOf": "2026-11-11"
    },
    "F65": {
      "label": "Project function reference, Spire.Doc",
      "display": "md_to_docx_server.py · convert_md_to_docx()",
      "asOf": "2026-11-11"
    },
    "F66": {
      "label": "Project repository, Spire.Doc",
      "display": "wwwzhouhui/dify-for-dsl",
      "asOf": "2026-11-11"
    },
    "F67": {
      "label": "Project stars, wwwzhouhui/dify-for-dsl",
      "display": "3.9K",
      "asOf": "2026-11-11"
    },
    "F68": {
      "label": "Project push date, wwwzhouhui/dify-for-dsl",
      "display": "Nov 2026",
      "asOf": "2026-11-11"
    },
    "F69": {
      "label": "Library name, all2md",
      "display": "all2md",
      "asOf": "2026-11-11"
    },
    "F70": {
      "label": "Monthly downloads, all2md",
      "display": "779",
      "asOf": "2026-11-11"
    },
    "F71": {
      "label": "License, all2md",
      "display": "MIT",
      "asOf": "2026-11-11"
    },
    "F72": {
      "label": "Package release, all2md",
      "display": "1.19.0, Nov 2026",
      "asOf": "2026-11-06"
    },
    "F73": {
      "label": "Package release date, all2md",
      "display": "Nov 2026",
      "asOf": "2026-11-06"
    },
    "F74": {
      "label": "Repository stars, all2md",
      "display": "35",
      "asOf": "2026-11-11"
    },
    "F75": {
      "label": "Reads Markdown files, all2md",
      "display": "Via plugin",
      "asOf": "2026-11-11"
    },
    "F76": {
      "label": "Imports tables, all2md",
      "display": "Via plugin",
      "asOf": "2026-11-11"
    },
    "F77": {
      "label": "Imports images, all2md",
      "display": "Via plugin",
      "asOf": "2026-11-11"
    },
    "F78": {
      "label": "Customizes Word styles, all2md",
      "display": "Via plugin",
      "asOf": "2026-11-11"
    },
    "F79": {
      "label": "Output formats, all2md",
      "display": "DOCX",
      "asOf": "2026-11-11"
    },
    "F80": {
      "label": "Install, all2md",
      "display": "pip install \"all2md[markdown,docx]\"",
      "asOf": "2026-11-11"
    },
    "F81": {
      "label": "What it does, all2md",
      "display": "Converts Markdown into Word documents with custom styles and templates.",
      "asOf": "2026-11-11"
    },
    "F82": {
      "label": "strengths lead, all2md",
      "display": "Preserves Word document styling",
      "asOf": "2026-11-11"
    },
    "F83": {
      "label": "strengths, all2md",
      "display": "A template carries over styles, theme, page setup, headers, and footers.",
      "asOf": "2026-11-11"
    },
    "F84": {
      "label": "strengths lead, all2md",
      "display": "Retains template body text",
      "asOf": "2026-11-11"
    },
    "F85": {
      "label": "strengths, all2md",
      "display": "Set clear_template_body=False to keep cover pages and standard opening text.",
      "asOf": "2026-11-11"
    },
    "F86": {
      "label": "limitations lead, all2md",
      "display": "Needs matching heading styles",
      "asOf": "2026-11-11"
    },
    "F87": {
      "label": "limitations, all2md",
      "display": "Missing Title or Heading styles turn headings into plain paragraphs.",
      "asOf": "2026-11-11"
    },
    "F88": {
      "label": "Quickstart, all2md",
      "display": "from all2md import convert\nfrom all2md.renderers.docx import DocxRendererOptions\n\n# Simple conversion\nconvert('report.md', target_format='docx', output='report.docx')\n\n# With options\noptions = DocxRendererOptions(\n    default_font='Arial',\n    default_font_size=12,\n    use_styles=True\n)\nconvert('report.md', target_format='docx', output='report.docx', renderer_options=options)\n",
      "asOf": "2026-11-11"
    },
    "F89": {
      "label": "Developer need",
      "display": "Combining chapter files",
      "asOf": "2026-11-11"
    },
    "F90": {
      "label": "Why choose pypandoc",
      "display": "batch conversion",
      "asOf": "2026-11-11"
    },
    "F91": {
      "label": "Developer need in introduction",
      "display": "combining chapter files",
      "asOf": "2026-11-11"
    },
    "F92": {
      "label": "When to consider all2md",
      "display": "for cover pages",
      "asOf": "2026-11-11"
    },
    "F93": {
      "label": "Developer need",
      "display": "Keeping template body text",
      "asOf": "2026-11-11"
    },
    "F94": {
      "label": "Why choose all2md",
      "display": "retained cover pages",
      "asOf": "2026-11-11"
    },
    "F95": {
      "label": "Developer need in introduction",
      "display": "keeping template body text",
      "asOf": "2026-11-11"
    },
    "F96": {
      "label": "When to consider pypandoc",
      "display": "for styles",
      "asOf": "2026-11-11"
    },
    "F97": {
      "label": "Developer need",
      "display": "Editing document styles",
      "asOf": "2026-11-11"
    },
    "F98": {
      "label": "Why choose aspose-words",
      "display": "editable styles",
      "asOf": "2026-11-11"
    },
    "F99": {
      "label": "Developer need in introduction",
      "display": "editing document styles",
      "asOf": "2026-11-11"
    },
    "F100": {
      "label": "When to consider all2md",
      "display": "for templates",
      "asOf": "2026-11-11"
    },
    "F101": {
      "label": "Developer need",
      "display": "Converting in both directions",
      "asOf": "2026-11-11"
    },
    "F102": {
      "label": "Why choose Spire.Doc",
      "display": "both directions",
      "asOf": "2026-11-11"
    },
    "F103": {
      "label": "Developer need in introduction",
      "display": "converting in both directions",
      "asOf": "2026-11-11"
    },
    "F104": {
      "label": "When to consider aspose-words",
      "display": "for styles",
      "asOf": "2026-11-11"
    },
    "F105": {
      "label": "Page introduction",
      "display": "Python Markdown to DOCX libraries let application developers convert Markdown into Word documents.",
      "asOf": "2026-11-11"
    },
    "F106": {
      "label": "Library name, pypandoc",
      "display": "pypandoc",
      "asOf": "2026-11-20"
    },
    "F107": {
      "label": "Monthly downloads, pypandoc",
      "display": "4.5M",
      "asOf": "2026-11-20"
    },
    "F108": {
      "label": "License, pypandoc",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F109": {
      "label": "Package release, pypandoc",
      "display": "1.17",
      "asOf": "2026-11-20"
    },
    "F110": {
      "label": "Package release date, pypandoc",
      "display": "Mar 2026",
      "asOf": "2026-11-20"
    },
    "F111": {
      "label": "Install, pypandoc",
      "display": "pip install pypandoc",
      "asOf": "2026-11-20"
    },
    "F112": {
      "label": "Quickstart, pypandoc",
      "display": "import pypandoc\n\noutput = pypandoc.convert_file('somefile.md', 'docx', outputfile=\"somefile.docx\")\n",
      "asOf": "2026-11-20"
    },
    "F113": {
      "label": "Repository stars, pypandoc",
      "display": "1.2K",
      "asOf": "2026-11-20"
    },
    "F114": {
      "label": "Imports tables, pypandoc",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F115": {
      "label": "Imports images, pypandoc",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F116": {
      "label": "Configures Word formatting, pypandoc",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F117": {
      "label": "Reference Word document, pypandoc",
      "display": "--reference-doc copies stylesheets and document properties, not document body content",
      "asOf": "2026-11-20"
    },
    "F118": {
      "label": "Native equations, pypandoc",
      "display": "Pandoc writes DOCX math as OMML where supported by the Markdown math reader",
      "asOf": "2026-11-20"
    },
    "F119": {
      "label": "Project function, pypandoc",
      "display": "def _pandoc_to_tempfile(output_format: str, extra_args: list[str]) -> bytes:\n            \"\"\"Convert via pandoc to a binary format using a temp file.\"\"\"\n            fd, tmp_path = tempfile.mkstemp(suffix=f\".{output_format}\")\n            os.close(fd)\n            try:\n                pypandoc.convert_text(\n                    markdown_content,\n                    output_format,\n                    format=input_fmt,\n                    extra_args=extra_args,\n                    outputfile=tmp_path,\n                )\n                with open(tmp_path, \"rb\") as f:\n                    return f.read()\n            finally:\n                os.unlink(tmp_path)\n",
      "asOf": "2026-11-20"
    },
    "F120": {
      "label": "Project source file, pypandoc",
      "display": "surfsense_backend/app/routes/reports_routes.py",
      "asOf": "2026-11-20"
    },
    "F121": {
      "label": "Project full_name, pypandoc",
      "display": "MODSetter/SurfSense",
      "asOf": "2026-11-20"
    },
    "F122": {
      "label": "Project stargazers_count, pypandoc",
      "display": "16.8K",
      "asOf": "2026-11-20"
    },
    "F123": {
      "label": "Library name, pandoc",
      "display": "pandoc",
      "asOf": "2026-11-20"
    },
    "F124": {
      "label": "Monthly downloads, pandoc",
      "display": "871.4K",
      "asOf": "2026-11-20"
    },
    "F125": {
      "label": "License, pandoc",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Package release, pandoc",
      "display": "2.4",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "Package release date, pandoc",
      "display": "Aug 2024",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Install, pandoc",
      "display": "pip install --upgrade pandoc",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Quickstart, pandoc",
      "display": "import pandoc\n\ndoc = pandoc.read(\"Hello world!\")\npandoc.write(doc, file=\"output.docx\", format=\"docx\")\n",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Official description, pandoc",
      "display": "Represents Pandoc documents in Python.",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Quickstart source file, pandoc",
      "display": "mkdocs/api.md",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Repository stars, pandoc",
      "display": "188",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Imports tables, pandoc",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Imports images, pandoc",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Configures Word formatting, pandoc",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Reference Word document, pandoc",
      "display": "--reference-doc copies stylesheets and document properties, not document body content",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Native equations, pandoc",
      "display": "Pandoc writes DOCX math as OMML where supported by the Markdown math reader",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Library name, aspose-words",
      "display": "Aspose.Words",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Monthly downloads, aspose-words",
      "display": "465.1K",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "License, aspose-words",
      "display": "Proprietary",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Package release, aspose-words",
      "display": "26.11.0",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Package release date, aspose-words",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Install, aspose-words",
      "display": "pip install aspose-words",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Quickstart, aspose-words",
      "display": "import aspose.words as aw\n\ndoc = aw.Document(\"Input.md\")\ndoc.save(\"Output.docx\")\n",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Imports tables, aspose-words",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Imports images, aspose-words",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Configures Word formatting, aspose-words",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Runtime, aspose-words",
      "display": "Bundled .NET runtime components; separate native system-library prerequisites",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Licensing, aspose-words",
      "display": "Proprietary product with evaluation restrictions",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Library name, Spire.Doc",
      "display": "Spire.Doc",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Monthly downloads, Spire.Doc",
      "display": "115.1K",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "License, Spire.Doc",
      "display": "Proprietary",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Package release, Spire.Doc",
      "display": "14.9.1",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Package release date, Spire.Doc",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Install, Spire.Doc",
      "display": "pip install Spire.Doc",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Quickstart, Spire.Doc",
      "display": "from spire.doc import *\nfrom spire.doc.common import *\n\n# Create an object of the Document class\ndocument = Document()\n# Load a Markdown file\ndocument.LoadFromFile(\"input.md\")\n\n# Save the Markdown file to a Word DOCX file\ndocument.SaveToFile(\"MdToDocx.docx\", FileFormat.Docx)\n",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Imports tables, Spire.Doc",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Imports images, Spire.Doc",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Configures Word formatting, Spire.Doc",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Conversion API, Spire.Doc",
      "display": "Document.LoadFromFile Markdown then SaveToFile DOCX",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Library name, md2docx-python",
      "display": "md2docx-python",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Monthly downloads, md2docx-python",
      "display": "13.6K",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "License, md2docx-python",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Package release, md2docx-python",
      "display": "1.0.0",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Package release date, md2docx-python",
      "display": "Mar 2025",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Install, md2docx-python",
      "display": "pip install md2docx-python",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Quickstart, md2docx-python",
      "display": "from md2docx_python.src.md2docx_python import markdown_to_word\nmarkdown_file = \"sample_files/amazon_case_study.md\"\nword_file = \"sample_files/amazon_case_study.docx\"\nmarkdown_to_word(markdown_file, word_file)\n",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Official description, md2docx-python",
      "display": "Converts Markdown to Word.",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Quickstart source file, md2docx-python",
      "display": "Readme.md",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Imports tables, md2docx-python",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Imports images, md2docx-python",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Configures Word formatting, md2docx-python",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Conversion coverage, md2docx-python",
      "display": "h1–h3, paragraph strong/emphasis, and flat ordered/unordered lists only in the current converter implementation",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Library name, Markdown2docx",
      "display": "Markdown2docx",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Monthly downloads, Markdown2docx",
      "display": "12.8K",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "License, Markdown2docx",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Package release, Markdown2docx",
      "display": "0.1.0",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Package release date, Markdown2docx",
      "display": "Jan 2022",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Install, Markdown2docx",
      "display": "pip install Markdown2docx",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Quickstart, Markdown2docx",
      "display": "from Markdown2docx import Markdown2docx\nproject = Markdown2docx('README')\nproject.eat_soup()\nproject.save()\n",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Official description, Markdown2docx",
      "display": "Converts Markdown to DOCX with token and command output substitution.",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Quickstart source file, Markdown2docx",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Imports tables, Markdown2docx",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Imports images, Markdown2docx",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Configures Word formatting, Markdown2docx",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Declared specialism, Markdown2docx",
      "display": "Token substitution and command-output substitution",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Registry package identifier, Markdown2docx",
      "display": "markdown2docx",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Library name, md-to-word-docx",
      "display": "md-to-word-docx",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Monthly downloads, md-to-word-docx",
      "display": "9.3K",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "License, md-to-word-docx",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Package release, md-to-word-docx",
      "display": "3.3.3",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Package release date, md-to-word-docx",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Install, md-to-word-docx",
      "display": "pip install md-to-word-docx",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Quickstart, md-to-word-docx",
      "display": "from md_to_word import export\n\nresult = export(\"稿件.md\", \"稿件.docx\", format=\"format.txt\")\n",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Official description, md-to-word-docx",
      "display": "Compiles Markdown to Word with declared typography, native equations, tables, cross-references, and bibliographies.",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Quickstart source file, md-to-word-docx",
      "display": "README.md (published PyPI long_description)",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Repository stars, md-to-word-docx",
      "display": "18",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Imports tables, md-to-word-docx",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Imports images, md-to-word-docx",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Configures Word formatting, md-to-word-docx",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Native equations and validation, md-to-word-docx",
      "display": "OMML equations with declared typography and document quality gates",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Library name, python-md2docx",
      "display": "python-md2docx",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Monthly downloads, python-md2docx",
      "display": "3.3K",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "License, python-md2docx",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Package release, python-md2docx",
      "display": "1.0.5",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Package release date, python-md2docx",
      "display": "Mar 2026",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Install, python-md2docx",
      "display": "pip install python-md2docx",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Quickstart, python-md2docx",
      "display": "from md2docx.core import MD2DOCX\nMD2DOCX().convert('tests/demo.md', output_file='tests/demo.docx')\n",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Official description, python-md2docx",
      "display": "Converts Markdown to DOCX.",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Quickstart source file, python-md2docx",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Repository stars, python-md2docx",
      "display": "1",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Imports tables, python-md2docx",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Imports images, python-md2docx",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Configures Word formatting, python-md2docx",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Optional diagram rendering, python-md2docx",
      "display": "Mermaid rendering requires the external Mermaid CLI",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Python Markdown to DOCX libraries Pandoc Aspose.Words Spire.Doc all2md official documentation conversion templates",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
