Advanced Lists

Aino LifeOS supports using LifeOS code blocks in Markdown to automatically index and aggregate data from across your entire vault.

LifeOS Code Blocks

Use the following syntax in your notes to insert dynamic lists:

```LifeOS
CodeBlockName
```

Aino LifeOS parses the code block in real time, extracts matching data from the vault, and renders it as an interactive list.

Index by Time

The following code blocks are used in periodic notes, automatically extracting data based on the time range of the note:

Code BlockPurposeUse Case
ProjectListByTimeTallies time spent on each project in the current period"Energy allocation" in daily notes, "Key projects" in weekly/monthly notes
TaskDueListByTimeLists tasks due within the current period"Due" section in any periodic note
TaskDoneListByTimeLists tasks completed within the current period"Completed" section in any periodic note
TaskRecordListByTimeLists all tasks collected in daily notes of the current period"Collected" section in weekly/monthly/quarterly/yearly notes
AreaListByTimeLists areas involved in the current period"Key areas" in yearly notes

These code blocks automatically determine the time range from the note's filename date. For example, TaskDoneListByTime placed in a weekly note automatically extracts tasks completed that week.

Index by Tag

The following code blocks are used in theme notes, automatically extracting data based on the tags field in the note's Frontmatter:

Code BlockPurposeUse Case
TaskListByTagCollects all tasks with this theme's tag from the entire vault"Tasks" section in project/area/resource notes
BulletListByTagCollects all bullet items with this theme's tag from the entire vault"Bullets" section in project/area/resource notes
FileListByTagCollects all file references with this theme's tag from the entire vault"Files" section in project/area/resource notes
ArchiveListByTagLists archived projects under this theme"Archive" section in area notes

Template Functions

In addition to code blocks, LifeOS provides template functions that execute automatically when a note is created:

FunctionPurpose
<% LifeOS.Project.snapshot() %>Inserts a snapshot list of currently active projects
<% LifeOS.Area.snapshot() %>Inserts a snapshot list of current areas

These functions execute once at note creation time and generate static content.

List Features

Lists rendered by LifeOS code blocks support:

  • Search -- Search for keywords within the list
  • Sort -- Sort by time, name, etc.
  • Filter -- Filter by status (completed/incomplete)
  • Periodic Notes -- Time-indexed code blocks are mainly used in periodic notes
  • Theme Notes -- Tag-indexed code blocks are mainly used in theme notes