Skip to content

Commit b087a72

Browse files
committed
fix broken links
1 parent 01f4cb2 commit b087a72

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
steps:
4747
- name: Deploy to GitHub Pages
4848
id: deployment
49-
uses: actions/deploy-pages@v4
49+
uses: actions/deploy-pages@v4

src/content/docs/guides/api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
77

88
Meta Bind offers a JavaScript API that allows you to interact with the Meta Bind internals via JavaScript.
99

10-
Documentation for the API can be found [here](/obsidian-meta-bind-plugin-docs/api/classes/obsidianapi/).
10+
Documentation for the API can be found [here](/obsidian-meta-bind-plugin-docs/api/classes/obsapi/).
1111

1212
## Usage
1313

src/content/docs/guides/buttons.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,31 +97,31 @@ The YAML configuration of a button must adhere to the following TypeScript inter
9797
interface ButtonConfig {
9898
// Required fields:
9999
// The text displayed on the button.
100-
label: string;
100+
label: string;
101101
// The style of the button.
102-
style: 'default' | 'primary' | 'destructive' | 'plain';
102+
style: 'default' | 'primary' | 'destructive' | 'plain';
103103

104104
// Optional fields:
105105
// An optional lucide icon to display on the button.
106106
icon?: string;
107107
// Optional CSS classes to add to the button. Multiple classes can be separated by spaces.
108108
class?: string;
109109
// Optional CSS inline stiles to apply to the button.
110-
cssStyle?: string;
110+
cssStyle?: string;
111111
// Optional path to a background image for the button.
112-
backgroundImage?: string;
112+
backgroundImage?: string;
113113
// Optional tooltip to display when hovering over the button. If not set, the label is used.
114-
tooltip?: string;
114+
tooltip?: string;
115115
// The optional id of the button, used for referencing the button in inline buttons.
116-
id?: string;
116+
id?: string;
117117
// Whether this button should be hidden, useful when only using the button in inline buttons.
118-
hidden?: boolean;
118+
hidden?: boolean;
119119

120120
// Button Actions:
121121
// The action to perform when the button is clicked.
122-
action?: ButtonAction;
122+
action?: ButtonAction;
123123
// Optionally multiple actions can be performed when the button is clicked.
124-
actions?: ButtonAction[];
124+
actions?: ButtonAction[];
125125
}
126126
```
127127

src/content/docs/guides/customMathJS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ As an example, we will define a `clamp()` function, which is not part of default
2424
The function should take in three parameters, the current value, a minimum, and a maximum. It returns the current value as long as its inside the range otherwise the boundary-value.
2525

2626
```js
27-
clamp: (val, min, max) => Math.min(Math.max(min, val), max)
27+
clamp: (val, min, max) => Math.min(Math.max(min, val), max);
2828
```
2929

3030
Add this definitions inside a JavaScrypt file stored in you Vault and enable that file to be [run as a startup script](https://www.moritzjung.dev/obsidian-js-engine-plugin-docs/guides/startupscripts/).
@@ -34,11 +34,11 @@ Inside the file you can use the `mathJSImport(dict, options)` function from the
3434
const mb = engine.getPlugin('obsidian-meta-bind-plugin').api;
3535

3636
mb.mathJSImport({
37-
// definition of the clamp function
38-
clamp: (val, min, max) => Math.min(Math.max(min, val), max),
37+
// definition of the clamp function
38+
clamp: (val, min, max) => Math.min(Math.max(min, val), max),
3939

40-
// we can also define useful constants here
41-
foo: 42
40+
// we can also define useful constants here
41+
foo: 42,
4242
});
4343
```
4444

src/content/docs/guides/metaBindEmbed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: A tutorial for the Meta Bind Embed.
55

66
Meta Bind Embeds are a way to embed a note inside another note, which works a bit differently than the normal Obsidian embeds.
77

8-
Together with Meta Binds other features, they allow you to build dynamic templates.
8+
Together with Meta Binds other features, they allow you to build dynamic templates.
99
The major disadvantage with a traditional template based approach is that modifications to the templates don't automatically apply to all notes created using that template.
1010
Meta Bind Embeds on the other hand propagate changes to the "template" to all notes embedding it instantly, since the "template" file is read every time the note renders and not just once when the note is created.
1111

0 commit comments

Comments
 (0)