Text with options

You can override styles for each of your placeholders. To do so, use an object instead of a string to specify options.

(All styling from the template get carried over to the render output unless you override them.)

Reference: the Text object · the Styles object

Download: input.zip · output.pptx

template.pptx

1
template.pptx slide 1

output.pptx

1
output.pptx slide 1

data.json

{
  "slides": [
    {
      "template": 1,
      "text1": {
        "type": "text",
        "value": "Override styles by providing options.",
        "styles": {
          "font": {
            "size": 28,
            "color": "#000000",
            "underline": true,
            "italic": true
          }
        }
      },
      "text2": {
        "type": "text",
        "value": "You can create hyperlinks as well.",
        "hyperlink": "https://slidepack.io"
      }
    }
  ]
}