Rich Text
Format text, add lists, and place dynamic values inside sentences or paragraphs.
User guide navigation
On this page
Rich text
Use Text blocks for paragraphs, headings, lists, inline formatting, and values from data. Writing in the editor feels familiar. Meanwhile the editor keeps the structure the PDF needs.
Format text
Select text and use the formatting controls for:
- Bold and italic emphasis.
- Underline and strikethrough when the document standard requires them.
- Subscript and superscript for formulas or official notation.
- Headings for document sections.
Use formatting consistently. A heading shows the structure of the document. Use bold and italic to emphasize a word or short phrase, not to decorate a whole paragraph.
Create lists
If the order does not matter, use a bullet list. If readers should follow a sequence, use a numbered list.
A numbered list can use numbers, letters, or Roman numerals. A bullet list has several marker styles. Press Tab to nest a list item. Press Shift+Tab to move it back out.
Preview long lists and lists inside lists. Check that the spacing and page breaks stay readable.
Paste text from Word
You can paste text from Word. The editor converts Word’s manual line breaks, special hyphens, and Symbol or Wingdings bullets into ordinary line breaks, hyphens, and bullets. A character that no font can draw, such as an emoji, still stops a PDF/A document. The error message names the character.
Links in imported content
In the editor you cannot add or edit hyperlinks. Links that are already in content you imported, or in content that came in through the API, stay. In the PDF you can click them.
Use rich-text data-contract fields
A data contract has two types of rich-text field. Choose between them based on where the value belongs:
| Field type | Best for | Content shape | Insert with |
|---|---|---|---|
| Rich text (inline) | Short content inside a sentence, such as a greeting or formatted name | One paragraph, with inline formatting and optional line breaks | An inline expression chip |
| Rich text (block) | Multi-paragraph content, such as an explanation or policy text | Multiple paragraphs, bullet lists, and ordered lists | A Rich Text Block |
Inline rich text belongs inside a sentence:
Dear {{customer.greeting}},
Block rich text needs its own block in the document. You can bind a Rich Text Block to either type of rich-text field. You cannot bind an inline expression chip to a block-rich-text field. So a value with several paragraphs or a list does not fit in an inline chip.
Insert fields into text
To show case information inside a sentence, such as a name, date, decision, amount, or reference number, insert a scalar field or an inline rich-text field. Make sure the sentence still works when the field is empty or very long.
Preview with realistic examples. That way you see whether the sentence, formatting, and page layout still work when the fields are filled.
Preview and check layout
Switch between examples and check:
- Long paragraphs and wrapped headings.
- Long field values inside a sentence.
- Multi-level lists and lists split across pages.
- Rich Text Blocks in the rendered PDF.
- Formatting that should remain consistent across the document.
The editor canvas shows the formatted text. The PDF preview shows where the text wraps in the real document, and how it spreads over the pages.
Epistola is open source, not free of cost. The organisations that use it fund its development, through Epistola or an Official Partner. We are steward-owned: fair prices, no profit maximisation. How Epistola is funded →