Content [[Nodes]] are how you define inputs and store or display results in a cannoli.
![[Pasted image 20240719124239.png]]
All content nodes are purple, but there are several sub-types:
| Subtype | How it's defined | What it does |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Standard | Has both incoming and outgoing arrows | Incoming arrows write their content to the node, and the node passes its content to the outgoing arrows |
| [[Input and Output nodes\|Input]] | Named (first line is wrapped in square brackets) and it has no incoming arrows | Can be loaded based on its name when the cannoli is baked or used as a [[Sub-cannolis\|sub-cannoli]]. Passes its content to the outgoing arrows. |
| [[Input and Output nodes\|Output]] | Named (first line is wrapped in square brackets) and it has no outgoing arrows | Will return its content when the cannoli is baked or used as a [[Sub-cannolis\|sub-cannoli]] |
| [[Reference nodes\|Reference]] | Single line wrapped in double {{curly braces}}, where the variable is a [[Floating nodes\|floating node]] or file in your vault | Incoming arrows will write their content to the floating node or file. Passes the content of the floating node or file to the outgoing arrows |
| [[Formatter nodes\|Formatter]] | Wrapped in double-double ""quotation marks"" | Variable references can be made just like in [[AI nodes]], and all references will be injected before the resulting content is passed to the outgoing arrows |
Just like [[AI nodes]], the outgoing arrows of Content nodes can be labeled and referenced as variables in other nodes. If they are unlabeled and they point to an AI node, they will be used as a system message.