No description
Find a file
Victor Melnik 1a599f9555
Time spans support (#2)
* Add spans support
* Add unit tests
* Update docs
2025-04-06 13:58:41 +03:00
.github/workflows Switch to Deno 2025-03-02 13:16:51 +02:00
src Time spans support (#2) 2025-04-06 13:58:41 +03:00
tests Time spans support (#2) 2025-04-06 13:58:41 +03:00
.editorconfig Initial commit 2025-02-22 15:35:35 +02:00
.gitignore Initial commit 2025-02-22 15:35:35 +02:00
deno.jsonc Switch to Deno 2025-03-02 13:16:51 +02:00
deno.lock Switch to Deno 2025-03-02 13:16:51 +02:00
esbuild.config.ts Switch to Deno 2025-03-02 13:16:51 +02:00
info.md Time spans support (#2) 2025-04-06 13:58:41 +03:00
LICENSE Initial commit 2025-02-22 15:35:35 +02:00
manifest.json Initial commit 2025-02-22 15:35:35 +02:00
README.md Time spans support (#2) 2025-04-06 13:58:41 +03:00
styles.css Time spans support (#2) 2025-04-06 13:58:41 +03:00
versions.json Initial commit 2025-02-22 15:35:35 +02:00

Obsidian Timelive Plugin

Plugin for Obsidian that turns a list of dates into a timeline.

Usage

The key difference from other timeline plugins is that Timelive doesn't use a code block. It's much easier to format any date event, provide a link or block of code, add an image or a video, etc.

To build a timeline, you need to define a list of dates, enclosed by the | symbol. The date format is automatically detected, but in case of ambiguity, the preferred format can be selected in the preferences.

There is also support for time spans. Just define two dates separated by - and they will be turned into a span.

## Demo
- |2011-02-05| Start
- |2021/04/28| Second event
- |21 6 12| Third event
   It's also a valid date
- |2018-07-01 - 2021-11-14| Time span
- |2025-02-05| **bold**, *italic*, ~~strikethrough~~, link to another note [[Welcome]]
- |2025-02-06| Merged events
  Test links and multiline code:
  https://github.com/aNNiMON/obsidian-timelive
   ```css
   .tlv-years {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    column-gap: 0.5rem;
    color: var(--text-normal);
   }
  • |now| Dynamic event, means that the timeline (e.g. your project) is live
  • |2056-05-24| Some future event

Use `now`, `today` or `present` to indicate that the project is live and that today's marker should be added.

See [info.md](info.md) for a real use case.

![preview](https://github.com/aNNiMON/obsidian-timelive/blob/images/preview.png?raw=true)