Jetformat

Append a paragraph to a Word document

Use jetformat word add-paragraph to append a paragraph to a Word document.

By Jetformat

This appends text to the end of an existing document. It does not create a DOCX from scratch or place a paragraph at an arbitrary cursor position.

Steps

  1. Start with a local DOCX. Replace the sample paths and identifiers with your own.
  2. Run the command below. Save to a new output path so the source remains available for comparison.
  3. Check the result as described below before using it in another job.
jetformat word add-paragraph report.docx --text 'next line' -o report-updated.docx

Options for this task

Option Meaning
--output Output DOCX path (required)
--text Paragraph text

Check the result

Extract text from the output and confirm the new paragraph appears at the end.

Notes and limits

Writing an Office document uses one credit per command. See the billing guide for the current rules.

The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat word add-paragraph --help to compare options with your installed version.

See the word command reference for the surrounding workflow.

Last updated