# Introduction

An element is a special type of node, which has the following additional attributes:

  • children
  • styles

# Text Node Shorthand

Throughout this specification, you may see the following notation:

{
  "type": "Paragraph",
  "children": ["Hello, World!"]
}

Note that this notation is shorthand for the following, and has been used to aid in reader clarity.

{
  "type": "Paragraph",
  "children": [
    { "type": "Text", "content": "Hello, World!" }
  ]
}

This shorthand is used purely for demonstrative purposes, and should not be used in any real KDF files.