Trevixal API
    Preparing search index...

    Variable splitReferenceItemConst

    splitReferenceItem: Command = ...

    Enter inside a reference entry splits it into two entries, the second one carrying a freshly allocated id.

    Core's splitBlock cannot do this safely here: mid-entry it clones the entry's id, leaving two entries answering to one citation (and the second unreachable, since referenceFor and renumberCitations both take the first match), and at the end of an entry it starts a paragraph, which a referenceItem+ list cannot hold at all.

    Declines outside a reference entry, and for a selection spanning two blocks, which is not this command's business.