Skip to content

Commit af6bb52

Browse files
committed
small update; update deps
1 parent 7a1b3bf commit af6bb52

File tree

8 files changed

+19
-17
lines changed

8 files changed

+19
-17
lines changed

bun.lockb

-7.72 KB
Binary file not shown.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
"format": "prettier --plugin prettier-plugin-astro --plugin prettier-plugin-svelte --write ."
1212
},
1313
"dependencies": {
14-
"@astrojs/starlight": "0.28.4",
15-
"astro": "4.16.7",
16-
"starlight-links-validator": "^0.12.3",
17-
"starlight-site-graph": "0.1.7",
18-
"starlight-typedoc": "^0.16.0",
19-
"typedoc": "^0.26.10",
20-
"typedoc-plugin-markdown": "^4.2.9",
21-
"typedoc-plugin-mdn-links": "^3.3.5",
14+
"@astrojs/starlight": "0.29.0",
15+
"astro": "4.16.10",
16+
"starlight-links-validator": "^0.13.0",
17+
"starlight-site-graph": "0.1.8",
18+
"starlight-typedoc": "^0.17.0",
19+
"typedoc": "^0.26.11",
20+
"typedoc-plugin-markdown": "^4.2.10",
21+
"typedoc-plugin-mdn-links": "^3.3.6",
2222
"typescript": "^5.6.3"
2323
},
2424
"devDependencies": {

src/content/docs/guides/stylingAndCSS.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ In some cases you might need higher [specificity](https://developer.mozilla.org/
3636
}
3737
```
3838

39-
4039
### Button Styling Example
4140

4241
If you want to change the style of a specific button, you can specify a CSS class for the button and then target it with a CSS snippet.

src/content/docs/reference/buttonActions/createNote.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface CreateNoteButtonAction {
1111
fileName: string; // the name of the new note
1212
folderPath?: string; // the folder path where the note should be created, if not specified the note will be created in the root of the vault
1313
openNote?: boolean; // if true, the note will be opened after creation
14-
openIfAlreadyExists?: boolean; // whether to open the note if it already exists instead of creating a new one with an incremented name
14+
openIfAlreadyExists?: boolean; // whether to open the note if it already exists instead of creating a new one with an incremented name
1515
}
1616
```
1717

src/content/docs/reference/buttonActions/inlineJs.mdx renamed to src/content/docs/reference/buttonActions/inlineJS.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Inline JS
2+
title: Run Inline JavaScript
33
description: Inline JS button action reference.
44
---
55

@@ -13,14 +13,14 @@ This feature requires the that you have the following:
1313
:::
1414

1515
```ts
16-
interface InlineJsButtonAction {
16+
interface InlineJSButtonAction {
1717
type: 'inlineJS';
1818
code: string; // the code to run
1919
}
2020
```
2121

2222
The button configuration is available as a **read only** variable in the script as `context.buttonConfig`.
23-
Aditional information about the button is available in the `context.buttonContext` object.
23+
Aditional information about the button is available in the `context.buttonContext` object.
2424
See [Button Context](/obsidian-meta-bind-plugin-docs/api/interfaces/buttoncontext/) for more information.
2525

2626
:::tip[Multiline Strings]

src/content/docs/reference/buttonActions/runJavaScript.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface JSButtonAction {
2121
```
2222

2323
The button configuration is available as a **read only** variable in the script as `context.buttonConfig`.
24-
Aditional information about the button is available in the `context.buttonContext` object.
24+
Aditional information about the button is available in the `context.buttonContext` object.
2525
See [Button Context](/obsidian-meta-bind-plugin-docs/api/interfaces/buttoncontext/) for more information.
2626
The args is passed to the script as `context.args`.
2727

@@ -34,13 +34,15 @@ label: Run JavaScript File
3434
action:
3535
type: js
3636
file: someScript.js
37+
args:
38+
greeting: "Meta Bind User"
3739
```
3840
````
3941

4042
With the following `someScript.js` file in the vault root.
4143

4244
```js title="someScript.js"
43-
console.log('Hello World!');
45+
console.log('Hello ${context.args.greeting}!');
4446
```
4547

46-
You should see the string `Hello World!` printed to the console, when you click the button.
48+
You should see the string `Hello Meta Bind User!` printed to the console, when you click the button.

src/content/docs/reference/inputFieldArguments/option.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { InputFieldArgumentType, InputFieldType } from '../../../../config/stati
1515

1616
The `option` argument lets you add a single option. If you supply only one value (`value`), the `value` will be displayed in the input field and written to the front-matter.
1717
If you supply two values (`value`, `name`), the `value` will be written to the front-matter and the `name` will be displayed in the input field.
18+
Note that the plugin can not differentiate between two options with the same `value`, even if the `name` is different.
1819

1920
### Values
2021

src/content/docs/reference/inputFields/date.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { InputFieldArgumentType, InputFieldType } from '../../../../config/stati
1212

1313
### Description
1414

15-
A _date_ input field is the Obsidian native date input.
15+
A _date_ input field is the Obsidian native date input.
1616
The date format is dependent on your Obsidian date format setting which is dependent on your system settings.
1717

1818
### Allowed Arguments

0 commit comments

Comments
 (0)