Heading 1: Introduction to Document Conversion
Heading 1 is reserved for the document title in HTML. The other Headings in the document can be Heading 1, Heading 3, and so on, for nested headings.
This is a paragraph under the first main heading. It serves to introduce the general topic of document conversion and the purpose of this sample document. We’re exploring how well formatting is preserved when moving from a Word document to HTML using the Mammoth plugin.
Heading 2: Exploring Basic Formatting Elements
This section will delve into some of the most common formatting elements found in Word documents. We will test how these are translated into HTML.
Heading 3: Paragraph Styles
This is a standard paragraph. It contains a few sentences of lorem ipsum-like text to see how basic text flow is handled. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
This paragraph is italicized. We want to see if the italics are preserved.
This paragraph is bold. We are checking if the bold formatting carries over.
This paragraph is underlined. Underlining is another common formatting style to test.
Heading 3: List Structures
Lists are crucial for organizing information. We will test both ordered and unordered lists.
Unordered List Example:
- Item A: This is the first item in an unordered list.
- Item B: Followed by a second item, demonstrating a simple bulleted list.
- Sub-item B1: A nested item to check hierarchy.
- Sub-item B2: Another nested item.
- Item C: The final item in this particular list.
Ordered List Example:
- First Step: This is the initial step in a sequence.
- Second Step: The subsequent step, showing numerical ordering. a. Sub-step 2a: A nested alphabetical item. b. Sub-step 2b: Another nested alphabetical item.
- Third Step: Concluding the ordered list example.
Images
This section tests the insertion of an image.
Image 1: Freelap FxChip BLE with Sprint Belt
Vimeo Short Codes
This section tests the insertion of Vimeo video clips.
Video 1. Cord resonance in linear sprint.
Heading 2: Further Considerations
This section briefly touches upon other aspects that might be relevant for more complex documents, although this sample focuses on the basics.
This is a concluding paragraph. It wraps up the content of this sample document. We hope this provides a good basis for testing the Mammoth WordPress plugin’s capabilities in converting various common Word document elements into clean HTML.
How to use this:
- Open Microsoft Word (or any other word processor that can save in .docx format).
- Copy and paste the text above into a new document.
- Apply the formatting as indicated (e.g., select “Testing the Mammoth Plugin: A Sample Document” and apply the “Title” style or make it a large, bold font. Select “Introduction to Document Conversion” and apply “Heading 1” style, and so on for the other headings).
- For the italicized, bold, and underlined paragraphs, apply that specific character formatting.
- Create the bullet points and numbered lists using Word’s built-in list features.
- Save the document as a .docx file.
- You can now use this .docx file to test the Mammoth WordPress plugin.
This sample covers the basic elements you requested and should give you a good initial test of the plugin’s conversion capabilities. Let me know if you need any other variations!