File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff 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
2234This plugin is still in ** beta** .
You can’t perform that action at this time.
0 commit comments