Skip to content

Commit af4a596

Browse files
committed
update readme
1 parent 865acf8 commit af4a596

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,19 @@ Examples:
1616
- `INPUT[slider:rating]` will create a slider bound to the metadata field `rating` of this note
1717
- `INPUT[text:taks#completedOn]` will create a text input bound to the metadata field `completedOn` of the note with the name `task`
1818

19-
Be aware that the plugin might do unwanted things when you have multiple files with the same name in your vault.
19+
The plugin also allows further customization with arguments. So the complete syntax looks like this:
20+
```
21+
INPUT[input_type(argument_name(argument_value), argument_name_2, ...):file_name_or_path#metadata_field]
22+
```
23+
24+
#### Input field types
25+
- `slider` a slider from 0 to 100 (custom ranges are on the road map)
26+
- `toggle` a toggle element
27+
- `text` a text field
28+
29+
#### Arguments
30+
- `class(class_name)` adds a css class to the input field
31+
- `addLabels` only for slider, adds labels for the min and max values
2032

2133
### How to install
2234
This plugin is still in **beta**.

0 commit comments

Comments
 (0)