Function composeannotation

  • Compose an annotated text from a text string and an array of text nodes.

    Parameters

    • text: string

      The text string.

    • annotatedtextnodes: IAnnotatedtext

      The text nodes.

    • Optionaloptions: IOptions

      The options to use.

    Returns annotatedtext.IAnnotatedtext

    The annotated text.

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

    compose