annotatedtext-remark - v1.0.10
    Preparing search index...

    Function collecttextnodes

    • Function

      Collect text nodes from an AST.

      Parameters

      • ast: unknown

        The AST to collect text nodes from.

      • text: string

        The text to collect text nodes for.

      • Optionaloptions: IOptions

        The options to use when collecting text nodes.

      Returns IAnnotation[]

      The collected text nodes.

      This function was never meant to be used directly. It is in the underlying annotatedtext module and is used by the build function.

      collecttextnodes