# html2docx **Repository Path**: hu-snail/html2docx ## Basic Information - **Project Name**: html2docx - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-07-20 - **Last Updated**: 2021-07-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # html2docx Very simple, easy to use, and the perfect Html code will be exported to Docx documents. Support custom style, say again, support custom style. I give the experience of the previous two development here to share this plug-in. Hurry Get bar!(很简单、易用、且完美的将 Html 代码导出成 Docx 文档。支持自定义样式,再说一遍,支持自定义样式。本人给予前人的经验进行二次开发的这里共享下这个插件。赶紧 Get 吧!) Very cool jquery plugin - [html2docx.min.js](https://github.com/gongph/html2docx/tree/master/dist). No jQuery, or any 3rd party plugins required(不依赖任何第三方库). ## Usage(用法) 目前仅支持在 Browser globals 中使用。通过 `window.savaAsDocx(opts)` 方法导出文件。例如,像下面的代码: ```html
this is a test data !
中文测试。哈喽,html2docx.js!