Function splitWikiLinks

  • Split a text string on its [[…]] runs into ordered text / wiki parts, or null when there is no usable wiki-link (so the caller keeps the text node untouched).

    Parameters

    • value: string

    Returns null | WikiPart[]