{"_id":"markdown-docx","_rev":"16-31a03b09b99b33fec07098969db6706f","name":"markdown-docx","dist-tags":{"latest":"1.7.0"},"versions":{"1.0.0":{"name":"markdown-docx","version":"1.0.0","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.0.0","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.js"},"dist":{"shasum":"5af035aa4c4c9b955c8becbdb28e6a914526c11a","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.0.0.tgz","fileCount":8,"integrity":"sha512-eAskiQ9PFT2SlqbxDJPpg8IDNEs1hGto9THBZL5XnvcFf+fxhNSbnTiIJbhMcyhJLw58gmXmWst6c0y/AU8sEg==","signatures":[{"sig":"MEUCIQCTguu7bT4997lSLujjTEZQTf8iShfn/GdRzO80MxHhlAIgVzhSvCDamaujASomhv+xQ4OICBoUkEpJXrTdQ0RasPc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107977},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/index.browser.mjs","default":"./dist/index.cjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"8fc2b6e823e4c3f0c79b08c19fc4bdabb4bc810b","scripts":{"dev":"tsup --stub","test":"vitest","build":"tsup","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"9.5.0","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"18.15.0","dependencies":{"docx":"^9.3.0","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsup":"^8.4.0","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0","@microsoft/api-extractor":"^7.52.3"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.0.0_1744788317659_0.5359826446765708","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"markdown-docx","version":"1.1.0","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.1.0","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.js"},"dist":{"shasum":"b8fe6acd6bcf70e5c95b7ef06e98aa50a1d8daa1","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.1.0.tgz","fileCount":8,"integrity":"sha512-Nozb8LciA2NaLxlpJXxO2WhQ6dYuCqIynzgXmBhV4DIZaXEbB5B599rmRcqCimdUOocGbnggK91jii/hkMpgUQ==","signatures":[{"sig":"MEUCIQD9O5c3gQckIuvSuOPyVDCFWa1v0Itb0lPJ/WCAgKh0TAIgdHZiv7oSzltcPJuq4SYO/vJONotv2RYcvqzPh3n+wow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113106},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/index.browser.mjs","default":"./dist/index.cjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"e4fd531a2dff0d545c2d170d121d007e325de723","scripts":{"dev":"tsup --stub","test":"vitest","build":"tsup","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"10.9.2","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"docx":"^9.3.0","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","@tailwindcss/vite":"^4.1.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsup":"^8.4.0","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0","@microsoft/api-extractor":"^7.52.3"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.1.0_1744812790460_0.0005559267605754759","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"markdown-docx","version":"1.1.1","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.1.1","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.js"},"dist":{"shasum":"8ea6523edb618da24c870160109c9b97d354b946","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.1.1.tgz","fileCount":8,"integrity":"sha512-4ylpWxUHnFjF+xpZUPHnFGi7UIQgnu7q1Zux539WO2T6P2tq1JwvHAARA7hAkMoHh30LGQceXWrYFHq7KLKQPA==","signatures":[{"sig":"MEUCIEcMkZz3mD2Muz5LTny3/Iff3z9FIQ0DsFEuqPgTInlGAiEA31QBqa+k5qMOIhGfv6aGiTK1IKTOUHeElXz+2qLmNhY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113106},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/index.browser.mjs","default":"./dist/index.cjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"2bdb1911febe483e26533d4c55b78ce1fede2533","scripts":{"dev":"tsup --stub","test":"vitest","build":"tsup","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"10.9.2","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"docx":"^9.3.0","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","@tailwindcss/vite":"^4.1.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsup":"^8.4.0","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0","@microsoft/api-extractor":"^7.52.3"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.1.1_1744812957695_0.46367341111428173","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"markdown-docx","version":"1.1.2","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.1.2","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.js"},"dist":{"shasum":"fd9857e08ac69bb43a6cefe482537552dc489b5c","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.1.2.tgz","fileCount":9,"integrity":"sha512-2cjDZwN2SxUWh1PLcp4XjxP5QtPSjsdrZkTFatAfevTnzO74EqrTeQ5YxAgCtROf2ZDzEGSfgf8AQXnShF3izQ==","signatures":[{"sig":"MEQCIEabghrSkes3hAKcLkHhtQfRJSNvbBNv7mPKRSOzN8k4AiBQriEZqxHXO3PuCcJDyfgW5eGCgBs/FMdA3wE1qQWgWA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115281},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/index.browser.mjs","default":"./dist/index.cjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"ee2e37f3d0eb0eef0de3ac0b4d21d878d3058068","scripts":{"dev":"tsup --stub","test":"vitest","build":"tsup","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"10.9.2","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"docx":"^9.3.0","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","@tailwindcss/vite":"^4.1.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsup":"^8.4.0","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0","@microsoft/api-extractor":"^7.52.3"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.1.2_1745311729129_0.9403807645023903","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"markdown-docx","version":"1.2.0","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.2.0","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.js"},"dist":{"shasum":"688a78724cf3c343d378127825ae27f2e4168493","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.2.0.tgz","fileCount":9,"integrity":"sha512-w0rNFnY6/mNw66SwLDXcvbgwe9BV6L6X5tAuRwpKHsrV/yoDNIufH6n1nX2SUACec4aQr8LZTusEDr+9GeWePw==","signatures":[{"sig":"MEYCIQDYhvpnl7w4sBN16QUw54YHsWzcgkQT8R+BlnzrU2CXOAIhAKbNbelfLu7zsa9GxbIRiISzyioRlPF1ymySJ615d3Ve","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":117115},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","browser":"./dist/index.browser.mjs","default":"./dist/index.cjs","require":"./dist/index.cjs"},"./package.json":"./package.json"},"gitHead":"75700a9227e9480c57a23a42985fb6b80b270584","scripts":{"dev":"tsup --stub","test":"vitest","build":"tsup","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"10.9.2","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"docx":"^9.3.0","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","@tailwindcss/vite":"^4.1.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsup":"^8.4.0","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0","@microsoft/api-extractor":"^7.52.3"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.2.0_1749193040209_0.7322477459993435","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"markdown-docx","version":"1.3.0","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.3.0","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"b0b277141bf20630f088abe55f8eceaf5c26314b","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.3.0.tgz","fileCount":9,"integrity":"sha512-/GtfLWFZ0aACF0Z90TLyO50O8I1poMgh1jOg6OXdsdH1BYdGl7dsWwWbbbzGJ2tgm4kzehONkkXe8GupA9hLEg==","signatures":[{"sig":"MEQCICXbkfGY3LPPpAcr1xldijzZgeXmL2MiNUHOyKWIeX7rAiB9+65ZfX0OWxYsu6pTbiQP9LfhHMQOECMTOW6sZfG20A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121329},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"386a97f85d5e688cfb9d159dfe0dd8698cc90617","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.3.0","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"24.2.0","dependencies":{"docx":"^9.5.1","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.3.0_1757756770687_0.5909452241497606","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"markdown-docx","version":"1.3.1","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.3.1","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"fd7d4d0186691ddf6f6db7050de7b9157fbf0af7","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.3.1.tgz","fileCount":9,"integrity":"sha512-diDHlsTqAfB60wPZ44blde0ZBX4JlV8/wIXPOYv8B3MwfpKhQpDvpAMTqTrPozw/DxBuAK3/Yfm/LY14YIHaxA==","signatures":[{"sig":"MEQCIAJhsByLOR0eP4LsWjcSNlVcw0zzWohqo7OULo/RnBVyAiBwwlJ6bLLhZnBFOrIaqXYin5l4y/s/6R6ATrIVoZdNyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121405},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","types":"./dist/index.d.ts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"ca54b19d221d5b6a065983b4c7bf8d79668196e9","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.3.0","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"24.2.0","dependencies":{"docx":"^9.5.1","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.3.1_1757757860322_0.5509759749546559","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"markdown-docx","version":"1.4.0","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.4.0","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"89842e3b8d260662ae2d720353add9e66a5ce565","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.4.0.tgz","fileCount":9,"integrity":"sha512-TLYbHxRYPNohlIkuPpT9h6f8hiSKN9yex/CpK11QYaw/NpC9p6Oy1QG6asPtIIfu5dggGyRiu83DAb3j2nARLg==","signatures":[{"sig":"MEQCIBXiQPRtUlekTwaBY8tGUHUbW1Q0XsDb9gpBFhdjI4kdAiA+FxstuRCTH6xeGoubYjdx3rRxHo6DBz4tgjsxhgQC6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":171474},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","types":"./dist/index.d.ts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"9d3b1c40f79f28f56fc3714a772add47621bc258","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.3.0","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"24.2.0","dependencies":{"docx":"^9.5.1","katex":"^0.16.23","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","fast-xml-parser":"^5.3.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.4.0_1760200900087_0.250531153009665","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"markdown-docx","version":"1.4.1","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.4.1","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"f02c7fc79dcc3a72950b0191669a9c569230cdbe","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.4.1.tgz","fileCount":9,"integrity":"sha512-cJIkxZBQidzWtWcykuukh+IcpNTWKRug1OsCaibT/PknQOxd62S9DNZkevoV1TOCUxjRjImZJrhkMJdJDaC7CA==","signatures":[{"sig":"MEUCIQCEd9it06p89JeWfBKSZgQq5qLwzDA+iHSUII2Ulh+cIwIgOUAw1yolWhafQRKrCpqBwDELU/QH1EV5npq/GYhfKfA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":172657},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"82294461579676baadd69a40d0d1c696cfd78bc3","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.3.0","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"24.2.0","dependencies":{"docx":"^9.5.1","katex":"^0.16.23","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","fast-xml-parser":"^5.3.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.4.1_1760242360448_0.619314340896123","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"markdown-docx","version":"1.4.2","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.4.2","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"d31efd87f6d857083182575cb1ad5ba84e11f89f","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.4.2.tgz","fileCount":9,"integrity":"sha512-Uoa3Iffc1M5kT9tbqPbdKqKqjm3bIyl80eiZ5Rj33WCr9KwQkVqChQ46W9S0pwjZwtD73m3oPgBNu7j+dwS5IQ==","signatures":[{"sig":"MEYCIQDpKRhYnKBYoPpmkbOUw9vimSfeDhwsE7MnVdV5b7U6kAIhAIs7xaAu7v6JTLMEHPH8VVguEuqLVU1/TR+IBStO+diP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":172765},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","types":"./dist/index.d.ts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"53dfce55dde6e3a052192bc4f61945d0aa646473","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.3.0","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"24.2.0","dependencies":{"docx":"^9.5.1","katex":"^0.16.23","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","fast-xml-parser":"^5.3.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.4.2_1760608423187_0.8014058155931851","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"markdown-docx","version":"1.4.3","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.4.3","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"1708e684fab8dcad1d151069b710087974822842","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.4.3.tgz","fileCount":9,"integrity":"sha512-AT6JOvUsFtWg8FL1Y8HtLC06wR8hreke9huakUGNWHEQ8m8lVJI7bLSfCsqdlMHHEjPgmDBWVlLmlXIDVUocIQ==","signatures":[{"sig":"MEUCIEXSt1OE3siAxVaN3H0SAa73AjL8SfIf5w/9OlxUp4j4AiEA3YCbjnASbCZaZRU2spoxJh0FxOHfmqvP3GpUBZZYl54=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":173535},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","types":"./dist/index.d.ts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"gitHead":"068042ad678e5464e39af1bbfe76ed0aae9c55fe","scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"vace","email":"ocdo@qq.com"},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.3.0","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"24.2.0","dependencies":{"docx":"^9.5.1","katex":"^0.16.23","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","fast-xml-parser":"^5.3.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.6.5","devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.4.3_1761484180061_0.7143035764665855","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"markdown-docx","version":"1.5.0","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.5.0","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"22679892876ae5d9f877ed9f5fa6d654ed83836a","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.5.0.tgz","fileCount":9,"integrity":"sha512-GnxG0KMUv3/HKW5nwPYbYL37fnQN1TxeTKsMBxniAXHji+8UdsSWjBiCktI3qRc4ZSQSpRmYUGw/LDfnpq0/VQ==","signatures":[{"sig":"MEQCIHSSbn+Hh4+cVQCYJhmkPb+9UQ6z82Sm8T8I/RZlOdUvAiA29W102Qp7o+wpqeoo3lL5GgPQtGMN0rZKxiM7j0jq/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/markdown-docx@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":179264},"main":"dist/index.cjs","type":"module","_from":"file:markdown-docx-1.5.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","types":"./dist/index.d.ts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3f3ea5a0-1603-46cf-8d38-630fa2417a00"}},"_resolved":"/tmp/c211541a410298960e4a834a64535035/markdown-docx-1.5.0.tgz","_integrity":"sha512-GnxG0KMUv3/HKW5nwPYbYL37fnQN1TxeTKsMBxniAXHji+8UdsSWjBiCktI3qRc4ZSQSpRmYUGw/LDfnpq0/VQ==","repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.6.4","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"docx":"^9.5.1","katex":"^0.16.23","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","fast-xml-parser":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.5.0_1765119232568_0.06878317361833108","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"markdown-docx","version":"1.5.1","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.5.1","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"5997c27334b292406516c3b59b6938a347f9a880","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.5.1.tgz","fileCount":9,"integrity":"sha512-4mCZ/yVNiles3Yp5211OFLqctMywoGkfMcSxaes6u2zTMaa/N2DwAJPpidt0DxDA+mekD5oo0Zk8QooY8VVkLA==","signatures":[{"sig":"MEYCIQCclLB3p8mFFRQ/IJfwcYgg7O3y557gozNFKQcNkGEd/AIhAL9nB9DPUMKs1c//TWVCDC6FHB1GVvuHLEBH3WhQhNJE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/markdown-docx@1.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":182309},"main":"dist/index.cjs","type":"module","_from":"file:markdown-docx-1.5.1.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","types":"./dist/index.d.ts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3f3ea5a0-1603-46cf-8d38-630fa2417a00"}},"_resolved":"/tmp/0636193cc80fb27882a535a4f7c49773/markdown-docx-1.5.1.tgz","_integrity":"sha512-4mCZ/yVNiles3Yp5211OFLqctMywoGkfMcSxaes6u2zTMaa/N2DwAJPpidt0DxDA+mekD5oo0Zk8QooY8VVkLA==","release-it":{"npm":{"publish":false}},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.7.0","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"docx":"^9.5.1","katex":"^0.16.23","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","fast-xml-parser":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.5.1_1765815690764_0.9848977350841264","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"markdown-docx","version":"1.5.2","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.5.2","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"58e48f736b2347f8cf8c60407d54e032750924f1","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.5.2.tgz","fileCount":9,"integrity":"sha512-RODTGlv37OWD4ccPdO5Ba4f4cVr4xjOwHoR776J5m2mF2d0zlprLMaE8oBqu4OB9FDDsPab78F4DCum2GcgbOw==","signatures":[{"sig":"MEUCICj9Z+7nqtczXGets49IyZ2zZtKu0SwHOenBMZA67Lp+AiEAsxBM7jVnvsWl8GYmXdBI6oBJ4ZcB6ZiMIXIoA9H1o9s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/markdown-docx@1.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":182655},"main":"dist/index.cjs","type":"module","_from":"file:markdown-docx-1.5.2.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","types":"./dist/index.d.ts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3f3ea5a0-1603-46cf-8d38-630fa2417a00"}},"_resolved":"/tmp/82c82204349c56408c2a8e8044e4c881/markdown-docx-1.5.2.tgz","_integrity":"sha512-RODTGlv37OWD4ccPdO5Ba4f4cVr4xjOwHoR776J5m2mF2d0zlprLMaE8oBqu4OB9FDDsPab78F4DCum2GcgbOw==","release-it":{"npm":{"publish":false}},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.12.1","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"docx":"^9.5.1","katex":"^0.16.23","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","fast-xml-parser":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.5.2_1775917249040_0.5485409394395089","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"markdown-docx","version":"1.6.0","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"url":"https://github.com/vace","name":"Vace","email":"ocdo@qq.com"},"license":"MIT","_id":"markdown-docx@1.6.0","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"homepage":"https://github.com/vace/markdown-docx","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"dist":{"shasum":"59b7a8a65182334d4e21ed3d7c6353520df0d246","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.6.0.tgz","fileCount":10,"integrity":"sha512-tn7nW5H+wLoN4cDpeZUsLVPal95aBbbRDoehS7bpVDXhsLNYMobVx++cVTzKroHtX7e557no68dhzRgkoqvffA==","signatures":[{"sig":"MEYCIQCmOFq5TcgEBkFZLQm9RIiXiIx+rjqyfRSm4akSTOVApgIhAL5Zmyi8BXvDIybWx7LRIOswE7EGR3gYY8b7egezf3Ef","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/markdown-docx@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":191276},"main":"dist/index.cjs","type":"module","_from":"file:markdown-docx-1.6.0.tgz","types":"dist/index.d.ts","module":"dist/index.mjs","browser":"dist/index.mjs","exports":{".":{"import":{"node":"./dist/index.node.mjs","types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"node":"./dist/index.node.cjs","types":"./dist/index.d.ts","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"scripts":{"dev":"tsdown --watch","test":"vitest","build":"tsdown","ts-check":"tsc --noEmit","release-it":"release-it","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3f3ea5a0-1603-46cf-8d38-630fa2417a00"}},"_resolved":"/tmp/a63fd2a2acaaded9a33f55581155bb74/markdown-docx-1.6.0.tgz","_integrity":"sha512-tn7nW5H+wLoN4cDpeZUsLVPal95aBbbRDoehS7bpVDXhsLNYMobVx++cVTzKroHtX7e557no68dhzRgkoqvffA==","release-it":{"npm":{"publish":false}},"repository":{"url":"git+https://github.com/vace/markdown-docx.git","type":"git"},"_npmVersion":"11.12.1","description":"Convert Markdown file to DOCX format","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"docx":"^9.5.1","katex":"^0.16.23","marked":"^15.0.8","commander":"^13.1.0","image-size":"^2.0.2","fast-xml-parser":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.15.1","vitest":"^3.1.1","typescript":"^5.8.3","@types/node":"^22.14.0"},"_npmOperationalInternal":{"tmp":"tmp/markdown-docx_1.6.0_1776091648498_0.20262576239083652","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"markdown-docx","version":"1.7.0","description":"Convert Markdown file to DOCX format","type":"module","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","browser":"dist/index.mjs","homepage":"https://github.com/vace/markdown-docx","exports":{".":{"import":{"types":"./dist/index.d.ts","node":"./dist/index.node.mjs","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","node":"./dist/index.node.cjs","default":"./dist/index.cjs"}},"./package.json":"./package.json"},"bin":{"markdown-docx":"bin/markdown-docx.mjs"},"sideEffects":false,"keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"author":{"name":"Vace","email":"ocdo@qq.com","url":"https://github.com/vace"},"repository":{"type":"git","url":"git+https://github.com/vace/markdown-docx.git"},"license":"MIT","devDependencies":{"@types/node":"^22.14.0","tsdown":"^0.15.1","typescript":"^5.8.3","vitest":"^3.1.1"},"dependencies":{"commander":"^13.1.0","docx":"^9.5.1","fast-xml-parser":"^5.3.0","image-size":"^2.0.2","katex":"^0.16.23","marked":"^15.0.8"},"release-it":{"npm":{"publish":false}},"scripts":{"dev":"tsdown --watch","build":"tsdown","test":"vitest","test:coverage":"vitest run --coverage","release-it":"release-it","ts-check":"tsc --noEmit"},"_id":"markdown-docx@1.7.0","bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"_integrity":"sha512-TRKDajI6p+6dvoOXaucfWiIiHfsPxluUri6XQzvzOT6yjob4bOL6sKzUBN8cJ89NLytZtWb54+JhKZrPoMmVgQ==","_resolved":"/tmp/b35fa1e162ad5304d6e81bfcc82b88da/markdown-docx-1.7.0.tgz","_from":"file:markdown-docx-1.7.0.tgz","_nodeVersion":"20.20.2","_npmVersion":"11.17.0","dist":{"integrity":"sha512-TRKDajI6p+6dvoOXaucfWiIiHfsPxluUri6XQzvzOT6yjob4bOL6sKzUBN8cJ89NLytZtWb54+JhKZrPoMmVgQ==","shasum":"f933848325059178228251e2725ca4c3dd3f60aa","tarball":"https://registry.npmjs.org/markdown-docx/-/markdown-docx-1.7.0.tgz","fileCount":10,"unpackedSize":204531,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/markdown-docx@1.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHbMEV5Wzr4hlURumIVTzVN+KjqKEqg2K6xuda126XnvAiEAkw6XrrfBuJvRM7VpAJnDeQA3lVcB8tnLmEDhgd3ihy4="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3f3ea5a0-1603-46cf-8d38-630fa2417a00"}},"directories":{},"maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/markdown-docx_1.7.0_1782747954328_0.4040682005340619"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-16T07:25:17.658Z","modified":"2026-06-29T15:45:54.773Z","1.0.0":"2025-04-16T07:25:17.837Z","1.1.0":"2025-04-16T14:13:10.636Z","1.1.1":"2025-04-16T14:15:57.906Z","1.1.2":"2025-04-22T08:48:49.356Z","1.2.0":"2025-06-06T06:57:20.394Z","1.3.0":"2025-09-13T09:46:10.896Z","1.3.1":"2025-09-13T10:04:20.544Z","1.4.0":"2025-10-11T16:41:40.314Z","1.4.1":"2025-10-12T04:12:40.631Z","1.4.2":"2025-10-16T09:53:43.378Z","1.4.3":"2025-10-26T13:09:40.278Z","1.5.0":"2025-12-07T14:53:52.715Z","1.5.1":"2025-12-15T16:21:30.903Z","1.5.2":"2026-04-11T14:20:49.194Z","1.6.0":"2026-04-13T14:47:28.633Z","1.7.0":"2026-06-29T15:45:54.474Z"},"bugs":{"url":"https://github.com/vace/markdown-docx/issues"},"author":{"name":"Vace","email":"ocdo@qq.com","url":"https://github.com/vace"},"license":"MIT","homepage":"https://github.com/vace/markdown-docx","keywords":["markdown","docx","converter","markdown-to-docx","markdown-docx","markdown-to-word","markdown-to-doc","markdown-to-word-doc"],"repository":{"type":"git","url":"git+https://github.com/vace/markdown-docx.git"},"description":"Convert Markdown file to DOCX format","maintainers":[{"name":"vace","email":"ocdo@qq.com"}],"readme":"# markdown-docx\n\nConvert Markdown files to DOCX format with support for both browser and Node.js environments.\n\n将 Markdown 文件转换为 DOCX 格式，支持浏览器和 Node.js 环境。\n\n[![npm version](https://img.shields.io/npm/v/markdown-docx.svg)](https://www.npmjs.com/package/markdown-docx)\n[![License](https://img.shields.io/npm/l/markdown-docx.svg)](https://github.com/vace/markdown-docx/blob/main/LICENSE)\n\n## Online Demo\n\n[Markdown to DOCX Converter](https://md-docx.vace.me)\n\n## Features\n\n![Screenshot](./tests/screenshots.png)\n\n- 📝 Convert Markdown to DOCX format with high fidelity\n- 🖼️ Support for images (with automatic downloading)\n- 📋 Support for tables, lists, code blocks, and other Markdown elements\n- 🔗 Hyperlinks and footnotes support\n- 🧮 Mathematical equations (LaTeX via KaTeX): inline `$...$`, display `$$...$$`, and fenced ```math/latex/katex```; supports fractions, roots, subscripts/superscripts, sums/integrals with limits, and matrices\n- 💅 Customizable styling options\n- 🌐 Works in both browser and Node.js environments\n- 🖥️ Command-line interface available\n\n## Installation\n\n```bash\n# Using npm\nnpm install markdown-docx\n\n# Using yarn\nyarn add markdown-docx\n\n# Using pnpm\npnpm add markdown-docx\n```\n\n## Basic Usage\n\n### Node.js\n\n```javascript\nimport fs from 'node:fs/promises';\nimport markdownDocx, { Packer } from 'markdown-docx';\n\nasync function convertMarkdownToDocx() {\n  // Read markdown content\n  const markdown = await fs.readFile('input.md', 'utf-8');\n\n  // Convert to docx\n  const doc = await markdownDocx(markdown);\n\n  // Save to file\n  const buffer = await Packer.toBuffer(doc);\n  await fs.writeFile('output.docx', buffer);\n\n  console.log('Conversion completed successfully!');\n}\n\nconvertMarkdownToDocx();\n```\n\n### Browser\n\n```javascript\nimport markdownDocx, { Packer } from 'markdown-docx';\n\nasync function convertMarkdownToDocx(markdownText) {\n  // Convert to docx\n  const doc = await markdownDocx(markdownText);\n\n  // Generate blob for download\n  const blob = await Packer.toBlob(doc);\n\n  // Create download link\n  const url = URL.createObjectURL(blob);\n  const a = document.createElement('a');\n  a.href = url;\n  a.download = 'document.docx';\n  a.click();\n\n  // Clean up\n  URL.revokeObjectURL(url);\n}\n\n// Example usage with a textarea\ndocument.getElementById('convert-btn').addEventListener('click', () => {\n  const markdown = document.getElementById('markdown-input').value;\n  convertMarkdownToDocx(markdown);\n});\n```\n\n### Skills\n\n```sh\nnpx skills add vace/markdown-docx\n```\n\nThis skill provides seamless conversion of Markdown files to Microsoft Word DOCX format.\nPerfect for transforming documentation, notes, and reports into professional Word documents.\n\n## Advanced Usage\n\n### Using the MarkdownDocx Class\n\nFor more control over the conversion process, you can use the `MarkdownDocx` class directly:\n\n```javascript\nimport { MarkdownDocx, Packer } from 'markdown-docx';\nimport fs from 'node:fs/promises';\n\nasync function convertWithOptions() {\n  const markdown = await fs.readFile('input.md', 'utf-8');\n\n  // Create instance with options\n  const converter = new MarkdownDocx(markdown)\n\n  // Generate document\n  const doc = await converter.toDocument({\n    title: 'My Document',\n    creator: 'markdown-docx',\n    description: 'Generated from Markdown'\n  });\n\n  // Save to file\n  const buffer = await Packer.toBuffer(doc);\n  await fs.writeFile('output.docx', buffer);\n}\n```\n\n## Configuration Options\n\nThe `MarkdownDocx` constructor and `markdownDocx` function accept an options object with the following properties:\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `imageAdapter` | Function | Built-in adapter | Custom function to handle image processing |\n| `ignoreImage` | Boolean | `false` | When set to `true`, images in markdown will be ignored |\n| `ignoreFootnote` | Boolean | `false` | When set to `true`, footnotes will be ignored |\n| `ignoreHtml` | Boolean | `false` | When set to `true`, inline HTML will be ignored |\n| `gfm` | Boolean | `true` | Enable GitHub Flavored Markdown support |\n| `theme` | Object | Default theme | Custom theme configuration for colors and sizes |\n\nAdditional options from the [marked](https://marked.js.org/using_advanced) library are also supported.\n\n### Math options\n\n```ts\ninterface MathOptions {\n  engine?: 'builtin' | 'katex' // default: 'katex'\n  katexOptions?: Record<string, any>\n  // Prefer constructs that render reliably in LibreOffice\n  libreOfficeCompat?: boolean\n}\n```\n\nExample:\n\n```ts\nconst doc = await markdownDocx(markdown, {\n  math: {\n    engine: 'katex',\n    libreOfficeCompat: false // set true if LibreOffice rendering looks off\n  }\n})\n```\n\n### Theme options\n\nYou can customize the appearance of the generated document by providing a theme configuration:\n\n```ts\nconst docx = await markdownToDocx(markdownText, {\n  theme: {\n    // Colors (hex values without #)\n    heading1: \"5B21B6\",\n    heading2: \"7C3AED\",\n    heading3: \"8B5CF6\",\n    heading4: \"374151\",\n    heading5: \"374151\",\n    heading6: \"374151\",\n    link: \"00fb0a\",\n    code: \"EC4899\",\n    blockquote: \"6B7280\",\n    del: \"EF4444\",\n\n    // Font sizes (in points)\n    heading1Size: 66,\n    heading2Size: 52,\n    heading3Size: 42,\n    spaceSize: 18,\n    codeSize: 20,\n    linkUnderline: false,\n    bodySize: 14,\n    lineSpacing: 1.5,\n\n    // Page margins — CSS shorthand (pt or cm), or verbose properties\n    margin: \"2cm 2.5cm\",        // top/bottom 2cm, left/right 2.5cm\n    // marginTop: \"3cm\",        // verbose properties override shorthand\n    // marginRight: 72,         // plain number = pt\n    // marginBottom: \"2cm\",\n    // marginLeft: 72,\n\n    // Remove blank-line paragraphs between content blocks\n    collapseEmptyLines: false,\n  }\n})\n```\n\nAll theme properties are optional — override only what you need. See [`examples/sample-config.json`](./examples/sample-config.json) for a complete list with defaults.\n\n#### Theme property reference\n\n| Property | Type | Default | Description |\n|---|---|---|---|\n| `heading1`–`heading6` | `string` | (various) | Hex color (no `#`) for each heading level |\n| `link` | `string` | `\"0563C1\"` | Hex color for hyperlinks |\n| `code` | `string` | `\"032F62\"` | Hex color for code blocks |\n| `codespan` | `string` | `\"70AD47\"` | Hex color for inline code |\n| `codeBackground` | `string` | `\"f6f6f7\"` | Background fill for code blocks |\n| `blockquote` | `string` | `\"666666\"` | Text color for blockquotes |\n| `blockquoteBackground` | `string` | `\"F9F9F9\"` | Background fill for blockquotes |\n| `del` | `string` | `\"FF0000\"` | Hex color for strikethrough text |\n| `hr` | `string` | `\"D9D9D9\"` | Hex color for horizontal rules |\n| `html` | `string` | `\"4472C4\"` | Hex color for raw HTML blocks |\n| `heading1Size`–`heading6Size` | `number` | 18/16/14/13/12/12 | Font size in pt for each heading |\n| `bodySize` | `number` | `12` | Base body font size in pt |\n| `codeSize` | `number` | `11` | Font size in pt for code blocks |\n| `lineSpacing` | `number` | `1.0` | Line spacing multiplier (e.g. `1.5` = 150%) |\n| `linkUnderline` | `boolean` | `true` | Whether links are underlined |\n| `margin` | `string \\| number` | — | Page margin shorthand (see below) |\n| `marginTop` | `number \\| string` | — | Top margin; overrides `margin` |\n| `marginRight` | `number \\| string` | — | Right margin; overrides `margin` |\n| `marginBottom` | `number \\| string` | — | Bottom margin; overrides `margin` |\n| `marginLeft` | `number \\| string` | — | Left margin; overrides `margin` |\n| `collapseEmptyLines` | `boolean` | `false` | Omit blank-line separator paragraphs |\n\n#### Page margins\n\nMargins follow CSS shorthand notation. Values may be plain numbers (treated as **pt**) or strings with a `pt`, `cm`, or `in`/`inch` suffix.\n\n| Pattern | Meaning |\n|---|---|\n| `\"2cm\"` or `\"1in\"` or `72` | All sides equal |\n| `\"2cm 1.5cm\"` | Top & bottom = 2 cm, left & right = 1.5 cm |\n| `\"2cm 1.5cm 1cm\"` | Top 2 cm, left/right 1.5 cm, bottom 1 cm |\n| `\"2cm 1.5cm 1cm 1.5cm\"` | Top, right, bottom, left |\n\nVerbose properties (`marginTop`, `marginRight`, `marginBottom`, `marginLeft`) override the shorthand when both are specified. They accept either a plain number (pt) or a string with `pt`/`cm`/`in` suffix.\n\n```ts\ntheme: {\n  margin: \"2cm\",        // base: 2 cm on all sides\n  marginTop: \"1in\",     // override top to 1 inch\n  marginLeft: 72,       // override left to 72 pt\n}\n```\n\n\n## Command Line Interface\n\nmarkdown-docx includes a CLI tool for converting markdown files from the command line:\n\n```bash\n# Install globally\nnpm install -g markdown-docx\n\n# Basic usage\nmarkdown-docx --input input.md --output output.docx\n\n# Short form\nmarkdown-docx -i input.md -o output.docx\n```\n\nIf the output file is not specified, it will use the input filename with a `.docx` extension.\n\n### Customizing Output via CLI\n\n**Theme overrides** (inline JSON via `-t`):\n\n```bash\n# Hex color values WITHOUT the # prefix; sizes in points\nmarkdown-docx -i input.md -t '{\"heading1\":\"2F5597\",\"bodySize\":14,\"lineSpacing\":1.5}'\n```\n\n**Config file** (`-c`) for full control:\n\n```bash\nmarkdown-docx -i input.md -c my-config.json\n```\n\nExample `my-config.json`:\n\n```json\n{\n  \"ignoreImage\": false,\n  \"math\": { \"engine\": \"katex\", \"libreOfficeCompat\": false },\n  \"theme\": {\n    \"heading1\": \"2F5597\",\n    \"bodySize\": 14,\n    \"lineSpacing\": 1.5,\n    \"linkUnderline\": false\n  }\n}\n```\n\nSee [`examples/sample-config.json`](./examples/sample-config.json) for a complete list of all configurable properties with their defaults.\n\nFor a full property reference from the terminal:\n\n```bash\nmarkdown-docx help theme    # all theme color/size properties and defaults\nmarkdown-docx help config   # all config file options and defaults\n```\n\n## Supported Markdown Features\n\n- Headings (H1-H6)\n- Paragraphs and line breaks\n- Emphasis (bold, italic, strikethrough)\n- Lists (ordered and unordered)\n- Links and images\n- Blockquotes\n- Code blocks\n- Tables\n- Horizontal rules\n- Footnotes\n- Task lists (checkboxes)\n- **Mathematical equations (LaTeX)** - inline and block equations\n\n## Mathematical Equations\n\nThe library supports LaTeX-style mathematical equations using the `$` delimiter for inline math and `$$` for block equations.\n\n### Inline Math\n\nUse single dollar signs for inline equations:\n\n```markdown\nEinstein's famous equation is $E=mc^2$.\nThe Pythagorean theorem: $a^2 + b^2 = c^2$.\n```\n\n### Block Math\n\nUse double dollar signs for display equations:\n\n```markdown\n$$\nE=mc^2\n$$\n\n$$\n\\alpha + \\beta + \\gamma = \\pi\n$$\n```\n\n### Fenced Math Blocks\n\nYou can also use fenced code blocks labeled `math`, `latex`, or `katex` for display equations:\n\n```markdown\n```math\n\\left( \\sum_{k=1}^n a_k b_k \\right)^2 \\leq \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right)\n```\n```\n\n\n### Supported Features\n\n- **Superscripts**: `$x^2$`, `$e^{10}$`\n- **Subscripts**: `$x_1$`, `$a_{10}$`\n- **Greek letters**: `$\\alpha$`, `$\\beta$`, `$\\gamma$`, `$\\pi$`, `$\\omega$`, etc.\n- **Operators**: `$\\times$`, `$\\div$`, `$\\pm$`, `$\\mp$`\n- **Relations**: `$\\leq$`, `$\\geq$`, `$\\neq$`, `$\\approx$`, `$\\equiv$`\n- **Special symbols**: `$\\infty$`, `$\\in$`, `$\\notin$`\n\nBy default, equations are rendered via KaTeX (LaTeX → MathML → native Word math/OMML) for broad coverage.\n\nYou can opt out to the lightweight builtin renderer (LaTeX → Unicode) if you prefer minimal output:\n\n\n```ts\nimport markdownDocx, { Packer } from 'markdown-docx'\n\n// Fallback to builtin (simple text) renderer\nconst doc = await markdownDocx(markdown, {\n  math: { engine: 'builtin' }\n})\n```\n\n### LibreOffice compatibility\n\nLibreOffice has partial OMML support. If equations look wrong in LibreOffice, enable a compatibility mode that favors simpler constructs:\n\n```ts\nimport markdownDocx, { Packer } from 'markdown-docx'\n\nconst doc = await markdownDocx(markdown, {\n  math: {\n    engine: 'katex',\n    libreOfficeCompat: true\n  }\n})\n```\n\n- Sums/integrals render as operator with sub/superscripts (instead of native n-ary)\n- Matrices render as a bracketed form (instead of true OMML matrix)\n- Word still renders these fine; this mode mainly improves LibreOffice rendering\n\n\n\nWith KaTeX (default), structures like `\\frac{a}{b}`, `x^{2}`, `x_{i}`, `\\sqrt{x}`, `\\sum`/`\\int` with limits, and basic matrices render as native Word math.\n\n## Image Adapter\n\nThe library provides a built-in image adapter that automatically downloads images from URLs. You can also create a custom image adapter by implementing the `ImageAdapter` interface.\nThe adapter should have a `getImage` method that takes an image URL and returns a Promise that resolves to an object containing the image data.\n\n```ts\nconst imageAdapter: (token: Tokens.Image) => Promise<null | MarkdownImageItem>\n```\n\n### Custom Image Size\n\nYou can specify custom image dimensions in the Markdown image title attribute using the format `widthxheight` (e.g., `600x400` or `30%x30%`). This will override the original image dimensions when rendering in the DOCX document, which is useful for controlling image size and avoiding Word's maximum width constraints.\n\n```markdown\n![Alt text](image.png \"600x400\")\n![Alt text](image.png \"30%x30%\")\n```\n\nThe custom dimensions will be applied to the image in the generated DOCX file, while the original image data remains unchanged.\n\n## Customization\n\nYou can customize the styling of the generated DOCX by accessing the style components:\n\n```javascript\nimport { styles, colors, classes, numbering } from 'markdown-docx';\n\n// Example: customize docs link color\nstyles.default.hyperlink.run.color = '0077cc';\nstyles.markdown.code.run.color = '000000';\n```\n\nYou can refer to the files in `src/styles` to write your own styles.\n\n- [styles.ts](./src/styles//styles.ts) - Default styles for the document\n- [colors.ts](./src/styles/colors.ts) - Color definitions\n- [markdown.ts](./src/styles/markdown.ts) - Markdown-specific styles\n\n## Browser vs Node.js\n\nThe library automatically detects the environment and uses the appropriate image adapter:\n\n- In the browser, images are fetched using the Fetch API\n- In Node.js, images are downloaded using the built-in HTTP/HTTPS modules\n\n## Examples\n\nFor more examples, see the [tests directory](https://github.com/vace/markdown-docx/tree/main/tests) in the repository.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Related Projects\n\n- [docx](https://github.com/dolanmiu/docx) - The underlying library for creating DOCX files\n- [marked](https://github.com/markedjs/marked) - The Markdown parser used in this project","readmeFilename":"README.md"}