Skip to content

buildVideoDirective

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-13-upload/video-directive.ts

Build the :::video{…} container directive from a resolved spec. The reader's remark plugin reads these attributes; chapters ride URL-encoded so the JSON survives directive attribute parsing intact.

Signature

ts
function buildVideoDirective(spec: ChapteredVideoSpec): string

Parameters

NameType
specChapteredVideoSpec

Returns: string

Was this page helpful?

Download as PDF