Trevixal API
    Preparing search index...
    • Cite a source: a numbered marker at the cursor plus its entry in the reference list, which is created at the end of the document when this is the first citation. The label is the entry's 1-based position. An explicit id is validated (fragment-safe or the command declines); when it already names an entry, the new marker cites that entry and text is ignored, so one source can be cited many times.

      Parameters

      • Optionaltext: string
      • Optionalid: string

      Returns Command