Lists

Populate lists with arrays of list items.

SlidePack will replace your {placeholder} with a bulleted list.

You can put your placeholder in a dummy list to pre-apply styles such as bullet formats.

Reference: the List object · 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,
      "my-list": {
        "type": "list",
        "values": [
          "Items are strings",
          "or text objects.",
          { "value": "Indent levels are", "level": 1 },
          { "value": "integers, 0 upto 8.", "level": 1 },
          { "value": "Bullets and other formatting for each level", "level": 2 },
          { "value": "is inherited from the template.", "level": 2 },
          { "value": "Font styles can be specified.", "styles": { "font": { "bold": true, "color": "2a4598" } } }
        ]
      }
    }
  ]
}