Obsidian-style queries

Emanote supports Obsidian-style embed queries.

Progress

See #10 for details.

Both * and ** are supported in the path patterns. See System.FilePattern for exact semantics.

Examples

Some examples are provided below:

List notes in current folder

```query
path:./*
```

List notes in an arbitrary folder

```query
path:foo/bar/*
```

List notes by a tag

```query
tag:#foo
```

List notes by a tag pattern

```query
tag:foo/*/qux
```

List folgezettel children of current note

```query
children:.
```

List folgezettel parents of current note

```query
parents:.
```

Timeline queries

Queries can be rendered as a timeline by using the timeline code block attribute.

```query {.timeline}
tag:emanote/syntax/**
```

This will use the date frontmatter metadata to sort the results, as well as display the date alongside it. A live demo of that snippet above is presented below:

Links to this page