Notion Helper - v1.3.29
    Preparing search index...

    Function createNotion

    • Function

      Parameters

      • options: {
            strict?: boolean;
            limitNesting?: number;
            limitChildren?: boolean;
            allowBlankParagraphs?: boolean;
        }

        The options for creating a Notion builder.

        • Optionalstrict?: boolean

          If true, the builder will throw errors when passed invalid or null data.

        • OptionallimitNesting?: number

          If true, limits the number of nested children block arrays to 2.

        • OptionallimitChildren?: boolean

          If true, the final content object's children array will have a maximum of 100 blocks.

        • OptionalallowBlankParagraphs?: boolean

          If true, calling .paragraph("") will result in an empty paragraph block.

      Returns Object

      A builder object with methods for constructing and managing Notion content.

      Use createNotionBuilder() instead. This function is maintained for backwards compatibility. createNotion