Cheatsheet
Updated: 4 Mar 2025
Updated: 4 Mar 2025
We can do text in **bold** or in _italics_.
We can do text in bold or in italics.
Hint shortcode can be used as hint/alerts/notification block.
There are 3 colours to choose: info
, warning
and danger
.
{{< hint [info|warning|danger] >}}
**Markdown content**
{{< /hint >}}
Markdown content
Markdown content
Markdown content
## H2 Header
H2 This is the title we use for section headers. Don’t use H1 as that is reserved for the page title.
### H3 Header
We use this header for sub-sections.
[I'm an inline-style link](https://www.google.com)
{{< button href="img/imageA.jpg" >}}Download{{< /button >}}

{{< figure src="img/imageA.jpg" title="Example Title" >}}
{{< figure src="img/imageA.jpg" title="Example Title" caption="This is my caption that can be a bit longer." >}}
This is my caption that can be a bit longer.
Ensure you put the filenames in quote marks so that the forward slash is handled.
{{< imageCompare "img/imageA.jpg" "img/imageB.jpg" >}}
{{< imageCompare "img/imageA.jpg" "img/imageB.jpg" "Image A" "Image B" >}}
* This is bullets
* This is another bullet
* And another
1. This is bullets
1. This is another bullet
1. And another
| Column A | Column B |
| --- | --- |
| ABC | DEF |
Column A | Column B |
---|---|
ABC | DEF |
Columns help organize shorter pieces of content horizontally for readability.
{{< columns >}} <!-- begin columns block -->
<--->
<--->
{{< /columns >}}
Here is some content
Here is some content
Here is some content
Custom columns allow you to specify the relative width of a two column set up. This is useful for when you want to have a narrower image column next to a larger text column.
{{< customColumns [one|two|three|four|five|six] [one|two|three|four|five|six] >}}
<!-- First column content -->
<--->
<!-- Second column content -->
{{< /customColumns >}}
Tabs let you organize content by context, for example installation instructions for each supported platform.
{{< tabs "uniqueid" >}}
{{< tab "MacOS" >}} # MacOS Content {{< /tab >}}
{{< tab "Linux" >}} # Linux Content {{< /tab >}}
{{< tab "Windows" >}} # Windows Content {{< /tab >}}
{{< /tabs >}}
This is tab MacOS content.
A whole bunch of text. A whole bunch of text. A whole bunch of text. A whole bunch of text.
This is tab Linux content.
A whole bunch of text. A whole bunch of text. A whole bunch of text. A whole bunch of text.
This is tab Windows content.
A whole bunch of text. A whole bunch of text. A whole bunch of text. A whole bunch of text.
FAQs are a great way to answer common questions and allow for deep linking to a specific question. Deep links are generated from the question title automatically.
{{< faq "What is the meaning of life?" >}}
42
{{< /faq >}}
Related videos are shown in the right hand column.
This should be the primary method of adding videos to pages.
You add them in the Frontmatter using the YouTube video ID. Only YouTube is supported at the moment.
related_videos:
- lLrQ83h2GTE
- OUng4stVL1o
{{< youtube OUng4stVL1o >}}
{{< vimeo 146022717 >}}
This loads local video files, hosted in the site.
There are three params:
src
]poster
] <– can just be ""
autoplay
]{{<video "sample.mp4" "sample.jpg" true >}}
{{<video src="sample.mp4" poster="sample.jpg" autoplay=true >}}
{{< jsCode example.js >}}
Reads a file .js in the pages asset directory and renders it with a Copy-JS button.
function Update() {
t = UpdateContext.LocalTime;
numLayers = Document.GetNumLayers();
layer = Document.GetLayer(0);
layerEndTime = layer.GetEndTime();
rssNode = layer.FindNode("RSSFeed").AsRSSFeedNode();
textNode = layer.FindNode("MainText");
imageLoaderNode = layer.FindNode("MainImageLoader");
numRssEntries = rssNode.GetNumEntries();
entryIndex = 0;
entryImageFilename = rssNode.GetEntryImageFilename(entryIndex, 0);
entryText = rssNode.GetEntryTitle(entryIndex);
imageLoaderNode.SetString("Attributes.Filename", entryImageFilename);
textNode.SetText(entryText);
}
Used only on JavaScript reference pages. Renders the JavaScript function syntax from the Front Matter including the function declaration and parameter descriptions.
{{< jsSyntax >}}
string myDummyFunction(int entryIndex, int imageIndex);
entryindex | The index of the entry, where 0 is the top of the list. |
imageindex | The index of the image to retrieve. RSS entries can have multiple images.` |
{{< fxCode example.fx >}}
Reads a file .fx in the pages asset directory and renders it with a Download & Copy-FX button.
Texture2D <float4> InputBuffer : INPUTBUFFER; // The input texture
float CurrentTime : CURRENTTIME; // The current time
float BlendAmount : BLENDAMOUNT; // The blend amount param
float MyCustomParameter; // A custom parameter
sampler LinearClampSampler
{
Filter = Min_Mag_Linear_Mip_Point;
AddressU = Clamp;
AddressV = Clamp;
AddressW = Clamp;
};
struct VS_OUTPUT
{
float4 Position : SV_POSITION;
float2 Uv : TEXCOORD0;
};
Sections often need to list their child pages. We have two shortcodes that enable this:
{{< sectionThumb >}}
{{< sectionNoThumb >}}
title: Probe Grid
description: Generates a grid of light probes for probe lighting.
weight: 1
legacy_slug: nodes-lighting-probe-grid
img_thumbnail: img/node-lighting-probe-grid-vis-img.jpg
related_videos:
- lLrQ83h2GTE
- OUng4stVL1o
draft: false
bookToc: true
bookHidden: false
bookCollapseSection: false
bookComments: false
bookSearchExclude: false
bookCollapseSection: false
bookFlatSection: false
node:
example_dfx: myfile.dfx
example_snippet: mysnippet.xml
img_examples:
- img/node-lighting-probe-grid-vis-img.jpg
img_examples_compare:
- imageA.jpg
- imageB.jpg
img_nodegraph: img/node-lighting-probe-grid-ng.jpg
previousNames:
- Old Node
uuid: 848EAC41-3B52-46BE-BD85-4321B6076852