Trevixal API
    Preparing search index...

    Function findTrigger

    • Find an active trigger ending at the caret. The scan covers the contiguous text run before the caret (inline atoms break it) and requires the trigger char to open the block or follow whitespace.

      Parameters

      Returns TriggerMatch | null