Manual
Overview
Language
IntroductionScenes & structureText & inlineGraphsCode panesAnimationDataReuse & logicExpressions & parameters
Elements
Text
ParagraphHeading 1Heading 2Heading 3Heading 4Unordered ListDivider
Media
ImageTableEquation
Callouts
NoteDefinitionExampleTask
Graph
GraphLinePolygonCurveIntegralScatterHistogramPointSegmentVectorCircleSquareRectangleTriangleStarDiamondHexagonTextAxis labelAxis BraceFitResidualsContourHeatmapParameter
Code
Code canvasLines
Animation
CueDraw cueTrace cueHighlight cueSpotlight cueType cue
Structure
SceneStep
Reference
Internote Reference
Inline
Formatting
BoldItalicsInline CodeHighlightLink
Text colour
Red textOrange textYellow textGreen textTeal textBlue textPurple textPink textGrey text
Maths
Maths
Reference
Internote ReferenceValueConstant
Other
FootnoteIcon
Directives
DatasetIncludeConstantsTemplatePresetConditionalForIgnore
Keyframes
KeyframeZoom keyframe
Attribute types
?
  1. Elements
  2. Structure
  3. Scene

Scene

sceneBlock elementStructureAliases:scn

A scene is the main container for your document content. Its body holds the narrative — text, equations, callouts — and its detail declares the board: canvas panes (graphs, code panes) and supporting content, revealed and animated as the reader steps through.

Attributes

durationImplicit
duration-auto
Total duration for animations or 'auto'.The head shorthand supplies it: scene:value
Defaultauto
autoplay
boolean
Automatically play animations.
Defaulttrue
loop
boolean
Loop animations continuously.
Defaultfalse
direction
orientation
Split arrangement when the detail declares two canvas panes: horizontal (side by side) or vertical (stacked).
ratio
ratio
The first pane's share of a split over the second's, e.g. 3/2. Only meaningful with two canvas panes.

Allowed content

Body { }
paragraphh1h2h3h4listequationdefinitionexamplenotetaskdividerstepinternote
Detail [ ]
paragraphh1h2h3h4listequationtableimageparametercuecue.drawcanvas.graphcanvas.code

Examples

scene{
    # Title
    Intro paragraph.
}
scene{
    # With Detail
    Explain the concept.
}[
    canvas.code{
        lines{
            print("hello")
        }
    }(
        language: python
    )
]
On this page
AttributesAllowed contentExamples
Scene · Internote