Equation Citator v1.3.7 Documentation
    Preparing search index...

    Function syncRepositoryToWebsiteNotesFolder

    • Syncs the entire vault's markdown content (and its referenced assets) to a designated website-notes export folder on disk.

      1. Validates the export folder exists and is outside the vault.
      2. Reads the previous export index so stale files can be cleaned up.
      3. Exports every markdown file; files matching the configured ignore patterns are binary-copied; all others are processed through makeExportedMarkdownForPdf.
      4. Copies non-markdown assets (images, PDFs, etc.) referenced by the exported notes.
      5. Cleans files from the previous run that are no longer present.
      6. Writes a fresh export index for the next run.

      Only available on desktop (relies on Node.js fs APIs). Shows a Notice on success (with counts) or failure (with the error message).

      Parameters

      Returns Promise<void>