Skip to content

Commit 40e4dae

Browse files
committed
image suggester, update example vault, bump metadata lib
1 parent 1fbeeaa commit 40e4dae

35 files changed

+791
-135
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
date1: Friday, May 13th 2022
3+
date2: Thursday, May 19th 2022
4+
time: 14:12
5+
---
6+
7+
### Date
8+
```meta-bind
9+
INPUT[date(showcase):date1]
10+
```
11+
12+
### Date Picker
13+
```meta-bind
14+
INPUT[date_picker(showcase):date2]
15+
```
16+
17+
### Time
18+
```meta-bind
19+
INPUT[time(showcase):time]
20+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
editor: |-
3+
This is some text.
4+
5+
**Some bold text.**
6+
7+
# And a Heading
8+
---
9+
10+
11+
```meta-bind
12+
INPUT[editor(showcase):editor]
13+
```
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
image: Other/Images/img_frozen_branch.jpg
3+
---
4+
5+
```meta-bind
6+
INPUT[imageSuggester(suggestOptionQuery("Other/Images"), showcase):image]
7+
```
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
number: 100
3+
---
4+
5+
```meta-bind
6+
INPUT[number(showcase):number]
7+
```
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
select: option 1
3+
multiSelect:
4+
- option 1
5+
- option 2
6+
---
7+
8+
### Select
9+
```meta-bind
10+
INPUT[select(
11+
option(option 1),
12+
option(option 2),
13+
option(option 3),
14+
showcase
15+
):select]
16+
```
17+
18+
### Multi Select
19+
```meta-bind
20+
INPUT[multi_select(
21+
option(option 1),
22+
option(option 2),
23+
option(option 3),
24+
showcase
25+
):multiSelect]
26+
```
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
slider1: 44
3+
slider2: 11
4+
---
5+
6+
### Simple Slider
7+
```meta-bind
8+
INPUT[slider(showcase):slider1]
9+
```
10+
11+
### Slider with Labels
12+
```meta-bind
13+
INPUT[slider(addLabels, showcase):slider1]
14+
```
15+
16+
### Slider with custom min max values
17+
```meta-bind
18+
INPUT[slider(addLabels, minValue(-20), maxValue(20), showcase):slider2]
19+
```
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
fileSuggest: "[[Other/Example Notes/Example Note with Embeds.md|Example Note with Embeds]]"
3+
suggest: option 1
4+
---
5+
6+
### Simple Suggester
7+
```meta-bind
8+
INPUT[suggester(
9+
suggestOption(option 1),
10+
suggestOption(option 2),
11+
suggestOption(option 3),
12+
showcase
13+
):suggest]
14+
```
15+
16+
### Suggester with Dataview
17+
Note, that this will error, if dataview is not enabled.
18+
```meta-bind
19+
INPUT[suggester(suggestOptionQuery(#example-note), showcase):fileSuggest]
20+
```

exampleVault/Input Fields/Text.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
text: text
3+
textArea: textArea
4+
---
5+
6+
### Text
7+
```meta-bind
8+
INPUT[text(showcase):text]
9+
```
10+
11+
### Text Area
12+
```meta-bind
13+
INPUT[text_area(showcase, class(meta-bind-full-width), class(meta-bind-high)):textArea]
14+
```
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
toggle: false
3+
---
4+
5+
```meta-bind
6+
INPUT[toggle(showcase):toggle]
7+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
tags: example-note
3+
---
4+
5+
This is an example note with callouts.
6+
7+
>[!INFO]
8+
>This is an info.
9+
10+
>[!Danger]
11+
>This is danerous.

0 commit comments

Comments
 (0)