CallioText API Reference - v0.0.22
    Preparing search index...

    Interface PrinterConfig

    interface PrinterConfig {
        fonts: {
            body: TypographyConfig;
            display: TypographyConfig;
            structure: TypographyConfig;
            title: TypographyConfig;
            weaken: TypographyConfig;
        };
        margins: {
            colon: string;
            level: string;
            paragraph: string;
            special: string;
            structure: string;
        };
    }
    Index
    fonts: {
        body: TypographyConfig;
        display: TypographyConfig;
        structure: TypographyConfig;
        title: TypographyConfig;
        weaken: TypographyConfig;
    }

    Type Declaration

    margins: {
        colon: string;
        level: string;
        paragraph: string;
        special: string;
        structure: string;
    }

    Type Declaration

    • colon: string

      代替分号的小空格。

    • level: string

      一个层级的空格。

    • paragraph: string

      段落之间的上下距离。

    • special: string

      特殊元素距离前后元素的距离。

    • structure: string

      结构性的左右偏移。