• A tag function that automatically aligns embedded multiline strings. Multiple lines are joined with the LINE_FEED (\n) line separator.

    Parameters

    • staticParts: TemplateStringsArray

      the static parts of a tagged template literal

    • Rest...substitutions: unknown[]

      the variable parts of a tagged template literal

    Returns string

    an aligned string that consists of the given parts