# Tags with styling

1. Include optional styling instructions for each tag to control its appearance.
2. If no styling is specified, the tag inherits the default formatting from the tag's text.

Reference: [tags](https://docs.powerpointgeneratorapi.com/json-template-syntax/tags "mention")

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1anCYNK3SgAB94XUYbyrXov5qwi0KR1Z8) | [output.pptx](https://drive.google.com/uc?export=download\&id=17Qg-VeNRwWK8l_RA6Ftp2uLWaoplStbJ)

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2Fun4ZgPyyyMdbKT1bDrf2%2Ftemplate.png?alt=media&#x26;token=8756981e-0950-445a-a246-181930495c27" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FvLJQTdpD2946bhJtNABk%2Foutput.png?alt=media&#x26;token=edf86cc5-7aad-408d-a33e-387e5f0714db" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "tags": [
          {
            "key": "tag1",
            "value": "Set your own styling",
            "font_type": "Forte",
            "font_size": 25,
            "font_color": "#FF0000"
          },
          {
            "key": "tag2",
            "value": "Override existing styling",
            "font_underline": false,
            "font_bold": false,
            "font_size": 40,
            "font_color": "yellow",
            "font_type": "Impact"
          },
          {
            "key": "tag3",
            "value": "How to use Tags in PowerPoint Generator API",
            "font_italic": true,
            "font_size": 20,
            "font_bold": true,
            "font_color": "#0070C0"
          },
          {
            "key": "ph1",
            "value": "first",
            "font_type": "Magneto",
            "font_size": 30.5,
            "font_underline": true
          },
          {
            "key": "ph2",
            "value": "second",
            "font_type": "Arial",
            "font_size": 8
          },
          {
            "key": "ph3",
            "value": "third",
            "font_type": "Times New Roman",
            "font_size": 15,
            "font_underline": true
          },
          {
            "key": "ph4",
            "value": "first",
            "font_size": 35,
            "font_italic": true
          },
          {
            "key": "ph5",
            "value": "second",
            "font_italic": true,
            "font_size": 20,
            "font_bold": true,
            "font_color": "39,186,166"
          },
          {
            "key": "ph6",
            "value": "third",
            "font_type": "Arial",
            "font_size": 15,
            "font_underline": true
          },
          {
            "key": "txt1",
            "value": "Rev",
            "font_type": "Magneto",
            "font_size": 30.5,
            "font_underline": true
          },
          {
            "key": "txt2",
            "value": "55",
            "font_italic": true,
            "font_size": 30,
            "font_bold": true,
            "font_color": "150,60,250"
          },
          {
            "key": "txt3",
            "value": "Iphone",
            "font_type": "Aptos",
            "font_size": 15,
            "font_underline": true
          }
        ]
      }
    ]
  }
}
```

{% endcode %}
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.powerpointgeneratorapi.com/examples/tagging/tags-with-styling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
