markmv - v1.39.2
    Preparing search index...

    Class ChronologicalJoinStrategy

    Join strategy that orders content chronologically by date.

    Extracts dates from frontmatter (date, created, modified fields) or attempts to parse dates from filenames. Orders content from oldest to newest, providing a timeline-based organization for content.

    Chronological joining

    const strategy = new ChronologicalJoinStrategy({
    separator: '\n\n---\n\n'
    });

    // Files will be ordered by date (oldest first)
    const result = await strategy.join(sections);
    console.log(`Chronological order: ${result.sourceFiles.join(' → ')}`);

    Hierarchy (View Summary)

    Index
    • Returns title unless it is undefined or the empty string, in which case filePath is used -- an empty title is treated as "no title supplied" rather than a meaningful value to sort or display by.

      Parameters

      • title: string | undefined
      • filePath: string

      Returns string