Skip to main content

Add Emphasis Attribute

You can use the Emphasis attribute to make the content bold, italic or underline. When adding the emphasis attribute, the text becomes italicized by default. If adding a role, the value (bold or underline) replace the default italicization.

If you want to use another emphasis when using the emphasis attribute, the solution is to use it in combination with the Toolbar buttons or Keyboard Shortcuts.

Important

You can use emphasis on text that already has an inline element, such as code. But it is important that the emphasis element is outside the inline element, for example:

 <para><emphasis><code>code snippet content goes here</code></emphasis></para>
  1. Highlight the text that you want to be bold, italic or underline.

  2. Press Alt + Enter ⏎ (Windows) or Command ⌘ + Enter ⏎ (Mac) to display the Element Context Menu.

    Element context menu shows a search field and a list of elements that are valid at the current position.
  3. Enter emphasis and select it.

    By default the text becomes italicized.

  4. To make it bold or underlined, select the emphasis element or highlight the text that uses it.

    empasis-role-bold.jpg
  5. Add the role attribute and set its value to bold or underline in the element attributes section.

    The italicization will be replaced with the chosen value.

  6. Select Save. Save icon.