No description
Find a file
2025-04-28 19:40:30 +08:00
.github/workflows Update plugin name 2025-02-01 21:11:25 +08:00
node_modules Fix version dependencies 2025-02-01 18:56:59 +08:00
src fix(style): Update the era title style 2025-04-28 19:40:30 +08:00
.gitignore Chore: update version number to 1.2.0, optimize timeline view logic 2025-04-02 19:07:00 +08:00
data.json fix(style): Update the era title style 2025-04-28 19:40:30 +08:00
esbuild.config.mjs Initial commit 2025-02-01 18:34:28 +08:00
LICENCE Update LICENCE 2025-02-22 11:15:05 +08:00
manifest.json feat: Update version number to 1.2.2 and optimize timeline preview 2025-04-28 18:36:24 +08:00
package-lock.json feat: Update version number to 1.2.2 and optimize timeline preview 2025-04-28 18:36:24 +08:00
package.json feat: Update version number to 1.2.2 and optimize timeline preview 2025-04-28 18:36:24 +08:00
README.md feat: Update version number to 1.2.2 and optimize timeline preview 2025-04-28 18:36:24 +08:00
styles.css feat: Add milestones and update style configurations 2025-04-28 17:19:42 +08:00
tsconfig.json Initial commit 2025-02-01 18:34:28 +08:00
versions.json feat: Update version number to 1.2.2 and optimize timeline preview 2025-04-28 18:36:24 +08:00

Generate Timeline

GitHub star count Open issues on GitHub List of contributors MIT license Total downloads

Generate Timeline is a plugin to help users generate timelines based on folders, tags, or files. With this plugin, users can easily view and manage their notes in chronological order.

中文文档

Functional Overview

  1. Generate Timeline Based on Folders:

    • Select a folder, and the plugin will scan all files (including subfolders) within it to generate a timeline based on the time attributes in the files.
    • Supports both timeline view and Markdown file formats.
  2. Generate Timeline Based on Tags:

    • Select a tag, and the plugin will scan all content with that tag (including subtags) to generate a timeline based on the time attributes.
    • Supports both timeline view and Markdown file formats.
  3. Generate Timeline Based on File Links:

    • Extract all internal links from a specified file and generate a timeline based on the linked files' time attributes.
    • Supports both timeline view and Markdown file formats.
  4. Milestone functionality : -milestones can be marked with a custom frontmatter attribute -milestone cards have a special style

How to Use

  1. Generate Timeline from Folder

    • Open the Command Palette and choose one of the following:
      • Generate Timeline: Generate Timeline View from Folder for a timeline view
      • Generate Timeline: Generate Timeline File from Folder for a Markdown file
    • Select your target folder and the timeline will be generated automatically
  2. Generate Timeline from Tags

    • Open the Command Palette and choose one of the following:
      • Generate Timeline: Generate Timeline View from Tags for a timeline view
      • Generate Timeline: Generate Timeline File from Tags for a Markdown file
    • Select your desired tag and the timeline will be generated automatically
  3. Generate Timeline from File Links

    • Open the Command Palette and choose one of the following:
      • Generate Timeline: Generate Timeline View from File Links for a timeline view
      • Generate Timeline: Generate Timeline File from File Links for a Markdown file
    • Select the source file containing the links

Customization Options

The plugin offers various customization settings:

  1. Timeline Appearance:

    • Timeline line width and color
    • Item spacing
    • Card background color, text color and border color
    • Animation duration
    • Milestone card background color, text color and border color
  2. Content Settings:

    • Date attribute: Choose which frontmatter date property to use for sorting (e.g., created, updated, date)
    • File name prefix and suffix: Customize the naming pattern for generated timeline files
    • Milestone property settings: custom property names and matching values
    • The card preview preferentially displays the row where the label is located.
  3. View Position:

    • Choose whether the timeline view appears in the left or right sidebar
  4. Language Settings:

    • Support Chinese and English

Contribution

We welcome contributions of any kind! If you have suggestions, questions, or would like to add new features, please submit an Issue or Pull Request on the GitHub repository.

License

This plugin is released under the MIT License. For more details, please refer to the LICENSE file.