The Word connector transforms the content of a Word document into HTML.
For documents using the standard Word heading styles (Heading 1, Heading 2, etc.), Fluid Topics splits the resulting HTML file into topics at each heading tag.
For documents using custom styles, users must use a stylemap.yml to define the segmentation of their Word file. When using the following example, Fluid Topics transforms chapter paragraphs into <h1> elements, and section paragraphs into <h2> elements.
h1:
- chapter
h2:
- section
Download the stylemap_use_example.zip attachment for an example style map and Word document.