Skip to content

Commit 65c0b6a

Browse files
committed
Update example vault
1 parent 2686894 commit 65c0b6a

File tree

2 files changed

+80
-27
lines changed

2 files changed

+80
-27
lines changed

exampleVault/examples.md

Lines changed: 77 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,84 @@
22
rating: 31
33
title: test title test test
44
completed: false
5+
toggle1: true
6+
slider1: 19
7+
slider2: 6
8+
text1: Test text
9+
text_area1: Test text area
10+
date1: 06/28/2022
11+
select: option c
12+
multi-select:
13+
- option b
14+
- option d
15+
time1: 03:11
516
---
617

7-
## List
8-
- `INPUT[toggle:completed]` Toggle
9-
- `INPUT[slider(addLabels):rating]` Slider
10-
- `INPUT[slider(addLabels, minValue(10), maxValue(60)):rating]` Slider with labels
11-
- `INPUT[text:title]` Text
12-
- `INPUT[text]` Text unbound
13-
- `INPUT[text_area(class(meta-bind-full-width)):other note#title]` Different note text area
18+
## Components
19+
### Toggle
20+
- `INPUT[toggle:toggle1]` Toggle
1421

15-
## Text block
22+
### Slider
23+
- `INPUT[slider:slider1]` Slider
24+
- `INPUT[slider(addLabels):slider1]` Slider with labels
25+
- `INPUT[slider(addLabels, minValue(1), maxValue(10)):slider2]` Slider with custom range
26+
27+
### Text and text area
28+
- `INPUT[text:text1]` Text
29+
- `INPUT[text_area:text_area1]` Text Area
30+
31+
### Date
32+
- `INPUT[date:date1]` Date
33+
34+
### Time
35+
- `INPUT[time:time1]` Time
36+
37+
### Select
38+
Select
39+
```meta-bind
40+
INPUT[select(
41+
option(option a),
42+
option(option b),
43+
option(option c),
44+
option(option d)
45+
):select]
46+
```
47+
48+
Select with title
49+
```meta-bind
50+
INPUT[select(
51+
title(select with title),
52+
option(option a),
53+
option(option b),
54+
option(option c),
55+
option(option d)
56+
):select]
57+
```
58+
59+
### Multi-Select
60+
Multi-Select
61+
```meta-bind
62+
INPUT[multi_select(
63+
option(option a),
64+
option(option b),
65+
option(option c),
66+
option(option d)
67+
):multi-select]
68+
```
69+
70+
Multi-Select with title
71+
```meta-bind
72+
INPUT[multi_select(
73+
title(some title),
74+
option(option a),
75+
option(option b),
76+
option(option c),
77+
option(option d)
78+
):multi-select]
79+
```
80+
81+
82+
## Linking to a different note
1683
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit amet porttitor arcu. Quisque scelerisque dolor augue, et posuere nulla bibendum nec. Curabitur sed rhoncus nisl.
1784

1885
```meta-bind
@@ -43,19 +110,8 @@ option(option d)
43110
):other note#multi-select]
44111
```
45112

46-
A date input field
47-
```meta-bind
48-
INPUT[date():other note#date]
49-
```
50-
51-
A time input field
52-
```meta-bind
53-
INPUT[time():other note#time]
54-
```
55-
56113
Lorem ipsum dolor sit amet, `INPUT[date():other note#date]` consectetur adipiscing elit. Pellentesque sit amet porttitor arcu. Quisque scelerisque dolor augue, et posuere nulla bibendum nec. Curabitur sed rhoncus nisl. Maecenas nisi justo, viverra vel tempus vel, hendrerit at metus.
57114

58115
## Error Messages
59-
- `INPUT[text():meta bind/nonExistantFile#title]` test test test
60-
61-
`INPUT[select(option(option a),option(option b),option(option c),option(option d)):other note#select]`
116+
- `INPUT[text():meta bind/nonExistantFile#title]`
117+
- `INPUT[select(option(option a),option(option b),option(option c),option(option d)):select]`

exampleVault/other note.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
2-
title: aaaa
2+
title: Text in a different note
33
select: option c
4-
multi-select:
5-
- option a
6-
- option b
7-
- option d
8-
date: 04/18/2030
4+
multi-select: []
5+
date: 04/18/2002
96
time: 19:20
107
---

0 commit comments

Comments
 (0)