> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/text-shape/set-bold-italic-and-underline.md).

# Set bold, italic & underline

1. Select the shape by `name` you want to modify. See [here](/knowledge-base/finding-shape-names.md) to find shape names.
2. Specify the text need amending under `text_run`. Text within one textbox can be split into multiple chunks. &#x20;
3. Add font settings for selected text under `text_properties`.
4. Insert `new_line` as boolean before another `text_run`.&#x20;
5. For more options for`font_underline` please refer to this page \[link].&#x20;

![](/files/7exBec8R7uvUD72wBXCl)

Before vs After

![](/files/cJKzRlyFbsbnHWUzwEUQ)![](/files/pogpPaBJLOTorrqou7my)

Template Presentation

{% file src="/files/SMkmDFwtzd74BCLCDpbL" %}

JSON Payload

{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "slides_as_template_bold.pptx",
    "slides": [
      {
        "slide_index": 0,
        "shapes": [
          {
            "name": "Title 1",
            "text": [
              {
                "text_run": "Text bold\n",
                "text_properties": {
                  "font_bold": true
                }
              },
              {
                "text_run": "Text italic\n",
                "text_properties": {
                  "font_italic": true
                }
              },
              {
                "text_run": "Text underline\n",
                "text_properties": {
                  "font_underline": "single"
                }
              }
            ]
          }
        ]
      }
    ]
  }
}
```

{% endcode %}
