# html-to-pdf **Repository Path**: byll/html-to-pdf ## Basic Information - **Project Name**: html-to-pdf - **Description**: 收藏html页面转pdf和base64 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2020-09-10 - **Last Updated**: 2023-12-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 将html元素转换成pdf文件 ------ 转换步骤如下: 使用html2canvas将dom元素转换成canvas对象,然后再使用jspdf将canvas图像转换成pdf文件