Minimal Docs | Writing a detailed docs : WIP
Overview
The video is composed of sequential scenes, where each scene represents a distinct segment of your video. These scenes can contain different components eg. code, text overlays, media(image,video,audio), and transitions.
Scene Directive (`# !scene`)
βββ Scene Props
βββ Title = Value (`--title={titleText}`)
βββ Duration = Value (`--duration={timeInSeconds}`)
βββ Background = Value (`--background={colorCode|colorName|transparent}`)
βββ Components
βββ Text Component (`!text`)
β βββ Content = Value (`--content={text}`)
β βββ ApplyTo = Value (`--applyTo={word|line|block}`)
β βββ FontSize = Value (`--fontSize={pixels}`)
β βββ FontWeight = Value (`--fontWeight={100-900}`)
β βββ Animation = Value (`--animation={fadeInSlideUp|fadeIn}`)
β βββ Duration = Value (`--duration={timeInSeconds}`)
β βββ Delay = Value (`--delay={timeInSeconds}`)
βββ Media Component (`!media`)
β βββ Src = Value (`--src={imageUrl|videoUrl}`)
β βββ Animation = Value (`--animation={fade|slide}`)
β βββ Duration = Value (`--duration={timeInSeconds}`)
β βββ Delay = Value (`--delay={timeInSeconds}`)
β βββ WithMotion = Value (`--withMotion={true|false}`)
βββ Transition Component (`!transition`)
β βββ Type = Value (`--type={magic|fade}`)
β βββ Direction = Value (`--direction={from-bottom}`)
β βββ Duration = Value (`--duration={timeInSeconds}`)
βββ Section Component (`!section`)
β βββ Rows = Value (`--rows={1-3}`)
β βββ Columns = Value (`--columns={1-3}`)
β βββ Gap = Value (`--gap={1-3}`)
β βββ Items = Value (`--items={!text|!media|!section}`)
β βββ Duration = Value (`--duration={timeInSeconds}`)
β
βββ Code Component (```js ! ```)
βββ Family = Value (`--family={fontFamily}`)
βββ Size = Value (`--size={pixels}`)
βββ Weight = Value (`--weight={100-900}`)
βββ Inline Components
βββ Mark (`!mark`)
β βββ Type = Value (`--type={highlight}`)
β βββ Color = Value (`--color={colorValue}`)
β βββ Duration = Value (`--duration={timeInSeconds}`)
β βββ Delay = Value (`--delay={timeInSeconds}`)
βββ Annotation (`!annotation`)
βββ Content = Value (`--content={annotationText}`)
βββ Position = Value (`--position={top|bottom|left|right}`)
βββ Duration = Value (`--duration={timeInSeconds}`)
βββ Delay = Value (`--delay={timeInSeconds}`)
βββ Style = Value (`--style={normal|warning|error}`)