Sample Document
This is a demonstration of the HTML to DOCX converter library.
Features
- Converts HTML headings (h1-h6) to proper DOCX headings
- Preserves paragraph formatting
- Supports lists (ordered and unordered)
- Handles images with automatic sizing
- Converts SVG graphics to embedded images
Text Formatting
The library processes various HTML elements and converts them to their DOCX equivalents. This includes paragraphs, headings, lists, and more.
Subsection Example
This is content within a subsection. The hierarchical structure of your HTML document is preserved in the exported DOCX file.
Lists Example
Unordered List
- First item
- Second item
- Third item
Ordered List
- Step one
- Step two
- Step three
Graphics Support
The library can handle both regular images and SVG graphics:
This SVG graphic will be converted to a PNG image and embedded in the DOCX file.