UNPKG

@antv/t8

Version:

T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative T8 markdown syntax that can be used to describe the content of data interpretation reports.

16 lines 545 B
import { CommonProps, CustomBlockElement } from './common'; import { PhraseSpec } from './phrase'; import { ParagraphSpec } from './paragraph'; export type NarrativeTextSpec = CommonProps & { headline?: HeadlineSpec; sections?: SectionSpec[]; }; export type HeadlineSpec = CommonProps & { type: 'headline'; phrases: PhraseSpec[]; }; export type StandardSectionSpec = { paragraphs?: ParagraphSpec[]; }; export type SectionSpec = (StandardSectionSpec | CustomBlockElement) & CommonProps; //# sourceMappingURL=structure.d.ts.map