recital / core / test / expected / fragments / basic-flats.json
basic-flats.json
Raw
 

[
	{
	  "type": "scene"
	},
	{
	  "type": "paragraph",
	  "text": "A scene can have sub-parts called fragments."
	},
	{
	  "type": "fragment"
	},
	{
	  "type": "paragraph",
	  "text": "Fragments are opened with `<>`, and can be closed with `</>`."
	},
	{
		"type": "paragraph",
		"text": "However, only one fragment is open-able at a time, so adding `<>` again will close the old fragment and open a new one."
	},
	{
	  "type": "endFragment"
	},
	{
	  "type": "paragraph",
	  "text": "This content is not in a fragment."
	},
	{
	  "type": "fragment"
	},
	{
	  "type": "paragraph",
	  "text": "These fragments are side-by-side."
	},
	{
	  "type": "endFragment"
	},
	{
	  "type": "fragment"
	},
	{
	  "type": "paragraph",
	  "text": "Since you cannot have nested fragments."
	},
	{
	  "type": "endFragment"
	},
	{
	  "type": "endScene"
	}
  ]