Trevixal API
    Preparing search index...

    Function highlightOverdueTasks

    • Mark each unfinished task whose due date has passed with data-overdue, which the stylesheet colours its chip by. Only the editor does this: a print or a saved page is not read on any one day. The mark is the view's, never the document's, and is redrawn after every render.

      Parameters

      • editor: Editor
      • today: () => string = ...

      Returns () => void